pg_upgrade: detect stale postmaster.pid lock files
Bruce Momjian <bruce@momjian.us>
pg_upgrade: detect stale postmaster.pid lock files If the postmaster.pid lock file exists, try starting/stopping the cluster to check if the lock file is valid. Per request from Tom.
Files
| Path | Change | +/− |
|---|---|---|
| contrib/pg_upgrade/check.c | modified | +5 −6 |
| contrib/pg_upgrade/exec.c | modified | +3 −7 |
| contrib/pg_upgrade/pg_upgrade.c | modified | +36 −12 |
| contrib/pg_upgrade/pg_upgrade.h | modified | +3 −3 |
| contrib/pg_upgrade/server.c | modified | +7 −2 |