pg_ctl: Detect current standby state from pg_control

Peter Eisentraut <peter_e@gmx.net>

Commit: c1dc51d4844e2a37412b034c07c1c5a439ba0b9d
Author: Peter Eisentraut <peter_e@gmx.net>
Date: 2016-09-21T16:00:00Z
Releases: 10.0
pg_ctl: Detect current standby state from pg_control

pg_ctl used to determine whether a server was in standby mode by looking
for a recovery.conf file.  With this change, it instead looks into
pg_control, which is potentially more accurate.  There are also
occasional discussions about removing recovery.conf, so this removes one
dependency.

Reviewed-by: Michael Paquier <michael.paquier@gmail.com>

Files