Specifies the directory of the Unix-domain socket(s) on which the server is to listen for connections from client applications. Multiple sockets can be created by listing multiple directories separated by commas. Whitespace between entries is ignored; surround a directory name with double quotes if you need to include whitespace or commas in the name. An empty value specifies not listening on any Unix-domain sockets, in which case only TCP/IP sockets can be used to connect to the server. The default value is normally /tmp, but that can be changed at build time. This parameter can only be set at server start.
In addition to the socket file itself, which is named
.s.PGSQL.nnnn where nnnn is the server's port number, an ordinary file named
.s.PGSQL.nnnn.lock will be created in each of the
unix_socket_directories directories. Neither file should ever be removed manually.
This parameter is irrelevant on Windows, which does not have Unix-domain sockets.
- Postgres - Peer authentication - psql: FATAL: role "xxxx" does not exist
- Move postgresql data store (port stops listening)
- Postgres highload. 20000 requests per min causes resource request timed out
- Postgresql Server started .. But port(5432) is not listening
- Can't connect to Postgresql via 127.0.0.1
- pg_basebackup is taking an unusually long time with Postgres 11.3
- Re: Adding Unix domain socket path and port to pg_stat_get_wal_senders()
- Re: pg11.1: dsa_area could not attach to segment
- Re: [PATCH] Move user options to the end of the command in pg_upgrade
- Re: Replace PG_AUTOCONF_FILENAME with parameter