-
- Downloads
Support having multiple Unix-domain sockets per postmaster.
Replace unix_socket_directory with unix_socket_directories, which is a list of socket directories, and adjust postmaster's code to allow zero or more Unix-domain sockets to be created. This is mostly a straightforward change, but since the Unix sockets ought to be created after the TCP/IP sockets for safety reasons (better chance of detecting a port number conflict), AddToDataDirLockFile needs to be fixed to support out-of-order updates of data directory lockfile lines. That's a change that had been foreseen to be necessary someday anyway. Honza Horak, reviewed and revised by Tom Lane
Showing
- doc/src/sgml/client-auth.sgml 1 addition, 1 deletiondoc/src/sgml/client-auth.sgml
- doc/src/sgml/config.sgml 21 additions, 14 deletionsdoc/src/sgml/config.sgml
- doc/src/sgml/ref/postgres-ref.sgml 8 additions, 2 deletionsdoc/src/sgml/ref/postgres-ref.sgml
- doc/src/sgml/runtime.sgml 1 addition, 1 deletiondoc/src/sgml/runtime.sgml
- src/backend/libpq/pqcomm.c 61 additions, 31 deletionssrc/backend/libpq/pqcomm.c
- src/backend/postmaster/postmaster.c 59 additions, 16 deletionssrc/backend/postmaster/postmaster.c
- src/backend/tcop/postgres.c 1 addition, 1 deletionsrc/backend/tcop/postgres.c
- src/backend/utils/adt/varlena.c 110 additions, 0 deletionssrc/backend/utils/adt/varlena.c
- src/backend/utils/init/miscinit.c 75 additions, 45 deletionssrc/backend/utils/init/miscinit.c
- src/backend/utils/misc/guc.c 8 additions, 4 deletionssrc/backend/utils/misc/guc.c
- src/backend/utils/misc/postgresql.conf.sample 2 additions, 1 deletionsrc/backend/utils/misc/postgresql.conf.sample
- src/bin/initdb/initdb.c 10 additions, 1 deletionsrc/bin/initdb/initdb.c
- src/bin/pg_ctl/pg_ctl.c 1 addition, 1 deletionsrc/bin/pg_ctl/pg_ctl.c
- src/include/libpq/libpq.h 4 additions, 4 deletionssrc/include/libpq/libpq.h
- src/include/miscadmin.h 4 additions, 3 deletionssrc/include/miscadmin.h
- src/include/postmaster/postmaster.h 1 addition, 1 deletionsrc/include/postmaster/postmaster.h
- src/include/utils/builtins.h 2 additions, 0 deletionssrc/include/utils/builtins.h
Loading
Please register or sign in to comment