git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: eb5089a) | patch
pg_ctl: Detect current standby state from pg_control
2016年7月26日 15:23:43 +0000 (11:23 -0400)
2016年9月21日 16:00:00 +0000 (12:00 -0400)
commit c1dc51d4844e2a37412b034c07c1c5a439ba0b9d
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>
src/backend/utils/misc/pg_controldata.c diff | blob | blame | history
src/bin/pg_controldata/pg_controldata.c diff | blob | blame | history
src/bin/pg_ctl/pg_ctl.c diff | blob | blame | history
src/common/controldata_utils.c diff | blob | blame | history
src/include/common/controldata_utils.h diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /