Code review for postmaster.pid contents changes.
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 14 Jan 2011 00:01:28 +0000 (19:01 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 14 Jan 2011 00:01:28 +0000 (19:01 -0500)
commit52948169bcddf443b76d6ff1806259b153a2ac04
tree9582d9be324ed653a88b63688f5e7073d3329ccf
parentf0f36045b2e3d037bb7647d84373404fa4ba9588
Code review for postmaster.pid contents changes.

Fix broken test for pre-existing postmaster, caused by wrong code for
appending lines to the lockfile; don't write a failed listen_address
setting into the lockfile; don't arbitrarily change the location of the
data directory in the lockfile compared to previous releases; provide more
consistent and useful definitions of the socket path and listen_address
entries; avoid assuming that pg_ctl has the same DEFAULT_PGSOCKET_DIR as
the postmaster; assorted code style improvements.
doc/src/sgml/storage.sgml
src/backend/port/ipc_test.c
src/backend/port/sysv_shmem.c
src/backend/postmaster/postmaster.c
src/backend/utils/init/miscinit.c
src/bin/pg_ctl/pg_ctl.c
src/include/miscadmin.h