git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 85642ec) | patch
Support having multiple Unix-domain sockets per postmaster.
2012年8月10日 21:26:44 +0000 (17:26 -0400)
2012年8月10日 21:27:15 +0000 (17:27 -0400)
commit c9b0cbe98bd783e24a8c4d8d8ac472a494b81292
Support having multiple Unix-domain sockets per post

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
17 files changed:
doc/src/sgml/client-auth.sgml diff | blob | blame | history
doc/src/sgml/config.sgml diff | blob | blame | history
doc/src/sgml/ref/postgres-ref.sgml diff | blob | blame | history
doc/src/sgml/runtime.sgml diff | blob | blame | history
src/backend/libpq/pqcomm.c diff | blob | blame | history
src/backend/postmaster/postmaster.c diff | blob | blame | history
src/backend/tcop/postgres.c diff | blob | blame | history
src/backend/utils/adt/varlena.c diff | blob | blame | history
src/backend/utils/init/miscinit.c diff | blob | blame | history
src/backend/utils/misc/guc.c diff | blob | blame | history
src/backend/utils/misc/postgresql.conf.sample diff | blob | blame | history
src/bin/initdb/initdb.c diff | blob | blame | history
src/bin/pg_ctl/pg_ctl.c diff | blob | blame | history
src/include/libpq/libpq.h diff | blob | blame | history
src/include/miscadmin.h diff | blob | blame | history
src/include/postmaster/postmaster.h diff | blob | blame | history
src/include/utils/builtins.h diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /