diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2011-01-13 19:01:28 -0500 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2011-01-13 19:01:28 -0500 |
commit | 52948169bcddf443b76d6ff1806259b153a2ac04 (patch) | |
tree | 9582d9be324ed653a88b63688f5e7073d3329ccf /doc/src | |
parent | f0f36045b2e3d037bb7647d84373404fa4ba9588 (diff) | |
download | postgresql-52948169bcddf443b76d6ff1806259b153a2ac04.tar.gz postgresql-52948169bcddf443b76d6ff1806259b153a2ac04.zip |
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.
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/sgml/storage.sgml | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/doc/src/sgml/storage.sgml b/doc/src/sgml/storage.sgml index 746a48219fd..ad9fba2d0f3 100644 --- a/doc/src/sgml/storage.sgml +++ b/doc/src/sgml/storage.sgml @@ -117,9 +117,14 @@ last started with</entry> <row> <entry><filename>postmaster.pid</></entry> <entry>A lock file recording the current postmaster process id (PID), - postmaster start time, cluster data directory, port number, user-specified - Unix domain socket directory, first valid listen_address host, and - shared memory segment ID</entry> + cluster data directory path, + postmaster start timestamp, + port number, + Unix-domain socket directory path (empty on Windows), + first valid listen_address (IP address or <literal>*</>, or empty if + not listening on TCP), + and shared memory segment ID + (this file is not present after server shutdown)</entry> </row> </tbody> |