Use postmaster_is_alive() check in pg_ctl restart as well as pg_ctl status,

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 13f75e378ef07c1d61780a29ae17ac4fd607cda5
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2005-05-04T22:35:15Z
Releases: 8.1.0
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

PathChange+/−
src/bin/pg_ctl/pg_ctl.c modified +45 −30