Use postmaster_is_alive() check in pg_ctl restart as well as pg_ctl status,
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 4 May 2005 22:35:22 +0000 (22:35 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 4 May 2005 22:35:22 +0000 (22:35 +0000)
commit5d629a8edf5e80e52da34c1da00cb91a21ed4f5f
treec4998f3aa7f4282a19cf5d4508c04397525cf1ae
parentc1cd788e0498df2e609f2b662045020b07191a64
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.
src/bin/pg_ctl/pg_ctl.c