Include the first valid listen address in pg_ctl to improve server start
Bruce Momjian <bruce@momjian.us>
Include the first valid listen address in pg_ctl to improve server start "wait" detection and add postmaster start time to help determine if the postmaster is actually using the specified data directory.
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/storage.sgml | modified | +3 −2 |
| src/backend/port/ipc_test.c | modified | +1 −1 |
| src/backend/port/sysv_shmem.c | modified | +11 −3 |
| src/backend/postmaster/postmaster.c | modified | +18 −1 |
| src/backend/utils/init/miscinit.c | modified | +27 −23 |
| src/bin/pg_ctl/pg_ctl.c | modified | +59 −30 |
| src/include/miscadmin.h | modified | +2 −2 |