pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Thomas Munro <tmunro@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Remove configure probe for setsid.
Date: Thu, 04 Aug 2022 21:59:42 +0000
Message-ID: <E1oJisX-000Kmj-Uv@gemulon.postgresql.org> (raw)

Remove configure probe for setsid.

setsid() is in SUSv2 and all targeted Unix systems have it.  Retain a
HAVE_SETSID macro, defined on Unix only.  That's easier to understand
than !defined(WIN32), for the optional code it governs.

Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>
Reviewed-by: Andres Freund <andres@anarazel.de>
Discussion: https://postgr.es/m/CA+hUKGJ3LHeP9w5Fgzdr4G8AnEtJ=z=p6hGDEm4qYGEUX5B6fQ@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/adeef67834cc3db14c36430c1421cf4ed8a809d3

Modified Files
--------------
configure                  | 2 +-
configure.ac               | 1 -
src/include/pg_config.h.in | 3 ---
src/include/port.h         | 1 +
src/tools/msvc/Solution.pm | 1 -
5 files changed, 2 insertions(+), 6 deletions(-)



Message-ID: <E1oJisX-000Kmj-Uv@gemulon.postgresql.org>
Permalink:  ../E1oJisX-000Kmj-Uv@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1oJisX-000Kmj-Uv@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: tmunro@postgresql.org
  Subject: Re: pgsql: Remove configure probe for setsid.
  In-Reply-To: <E1oJisX-000Kmj-Uv@gemulon.postgresql.org>
  References: <E1oJisX-000Kmj-Uv@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox