Use postmaster_is_alive() check in pg_ctl restart as well as pg_ctl status,
Tom Lane <tgl@sss.pgh.pa.us>
Use postmaster_is_alive() check in pg_ctl restart as well as pg_ctl status, so that restart doesn't fail when old postmaster died unbetimes.
Files
| Path | Change | +/− |
|---|---|---|
| src/bin/pg_ctl/pg_ctl.c | modified | +45 −30 |