mirror of
https://github.com/postgres/postgres.git
synced 2025-07-30 11:03:19 +03:00
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.
This commit is contained in:
@ -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>
|
||||
|
Reference in New Issue
Block a user