Skip to content
Snippets Groups Projects
Commit c1dc51d4 authored by Peter Eisentraut's avatar Peter Eisentraut
Browse files

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: default avatarMichael Paquier <michael.paquier@gmail.com>
parent eb5089a0
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment