In pg_upgrade, avoid one start/stop of the postmaster; use the -w
Bruce Momjian <bruce@momjian.us>
In pg_upgrade, avoid one start/stop of the postmaster; use the -w (wait) flag for pg_ctl start/stop; remove the unused "quiet" flag in the functions for starting/stopping the postmaster.
Files
| Path | Change | +/− |
|---|---|---|
| contrib/pg_upgrade/check.c | modified | +7 −7 |
| contrib/pg_upgrade/pg_upgrade.c | modified | +7 −12 |
| contrib/pg_upgrade/pg_upgrade.h | modified | +2 −2 |
| contrib/pg_upgrade/server.c | modified | +5 −5 |