Add support for abstract Unix-domain sockets
authorPeter Eisentraut <[email protected]>
Wed, 25 Nov 2020 07:14:23 +0000 (08:14 +0100)
committerPeter Eisentraut <[email protected]>
Wed, 25 Nov 2020 07:33:57 +0000 (08:33 +0100)
commitc9f0624bc2f544baacafa38e3797d5323401d039
tree4425354e0eb7391059df513989a9aa62cd237b65
parenta7e65dc88b6f088fc2fcf5a660d866de644b1300
Add support for abstract Unix-domain sockets

This is a variant of the normal Unix-domain sockets that don't use the
file system but a separate "abstract" namespace.  At the user
interface, such sockets are represented by names starting with "@".
Supported on Linux and Windows right now.

Reviewed-by: Michael Paquier <[email protected]>
Discussion: https://www.postgresql.org/message-id/flat/6dee8574-b0ad-fc49-9c8c-2edc796f0033@2ndquadrant.com
doc/src/sgml/config.sgml
doc/src/sgml/libpq.sgml
src/backend/libpq/pqcomm.c
src/bin/psql/command.c
src/bin/psql/prompt.c
src/common/ip.c
src/include/libpq/pqcomm.h
src/interfaces/libpq/fe-connect.c