Remove configure probe for setsid.
authorThomas Munro <tmunro@postgresql.org>
Thu, 4 Aug 2022 21:21:51 +0000 (09:21 +1200)
committerThomas Munro <tmunro@postgresql.org>
Thu, 4 Aug 2022 21:21:51 +0000 (09:21 +1200)
commitadeef67834cc3db14c36430c1421cf4ed8a809d3
tree2f5b03f941cbe18f2d7fcb7940dd9b436020d58e
parent098f4d813b69b4f88943afa777ae4bba5166f803
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
configure
configure.ac
src/include/pg_config.h.in
src/include/port.h
src/tools/msvc/Solution.pm