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

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

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