postgresql/src/backend/postmaster
Thomas Munro f558088285 Remove HAVE_UNIX_SOCKETS.
Since HAVE_UNIX_SOCKETS is now defined unconditionally, remove the macro
and drop a small amount of dead code.

The last known systems not to have them (as far as I know at least) were
QNX, which we de-supported years ago, and Windows, which now has them.

If a new OS ever shows up with the POSIX sockets API but without working
AF_UNIX, it'll presumably still be able to compile the code, and fail at
runtime with an unsupported address family error.  We might want to
consider adding a HINT that you should turn off the option to use it if
your network stack doesn't support it at that point, but it doesn't seem
worth making the relevant code conditional at compile time.

Also adjust a couple of places in the docs and comments that referred to
builds without Unix-domain sockets, since there aren't any.  Windows
still gets a special mention in those places, though, because we don't
try to use them by default there yet.

Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>
Reviewed-by: Andres Freund <andres@anarazel.de>
Reviewed-by: Peter Eisentraut <peter.eisentraut@enterprisedb.com>
Discussion: https://postgr.es/m/CA%2BhUKG%2BL_3brvh%3D8e0BW_VfX9h7MtwgN%3DnFHP5o7X2oZucY9dg%40mail.gmail.com
2022-08-14 08:46:53 +12:00
..
Makefile pgstat: move pgstat.c to utils/activity. 2022-04-06 21:29:46 -07:00
autovacuum.c Process session_preload_libraries within InitPostgres's transaction. 2022-07-25 10:27:43 -04:00
auxprocess.c Fix non-specific error message. 2022-08-11 14:12:11 -04:00
bgworker.c Pre-beta mechanical code beautification. 2022-05-12 15:17:30 -04:00
bgwriter.c pgstat: rename some pgstat_send_* functions to pgstat_report_*. 2022-04-06 14:08:57 -07:00
checkpointer.c Change internal RelFileNode references to RelFileNumber or RelFileLocator. 2022-07-06 11:39:09 -04:00
fork_process.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
interrupt.c pgstat: store statistics in shared memory. 2022-04-06 21:29:46 -07:00
pgarch.c Reduce overhead of renaming archive status files. 2022-07-26 16:00:18 +09:00
postmaster.c Remove HAVE_UNIX_SOCKETS. 2022-08-14 08:46:53 +12:00
shell_archive.c Allow archiving via loadable modules. 2022-02-03 14:05:02 -05:00
startup.c Pre-beta mechanical code beautification. 2022-05-12 15:17:30 -04:00
syslogger.c Use STDOUT/STDERR_FILENO in most of syslogger. 2022-07-18 17:22:11 -07:00
walwriter.c Pre-beta mechanical code beautification. 2022-05-12 15:17:30 -04:00