pgsql: pg_ctl: Add wait option to promote action

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема pgsql: pg_ctl: Add wait option to promote action
Дата
Msg-id E1bmkJp-0007Pl-6y@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
pg_ctl: Add wait option to promote action

When waiting is selected for the promote action, look into pg_control
until the state changes, then use the PQping-based waiting until the
server is reachable.

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

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/e7010ce4794a4c12a6a8bfb0ca1de49b61046847

Modified Files
--------------
doc/src/sgml/ref/pg_ctl-ref.sgml | 29 ++++++++++++++++++++------
src/bin/pg_ctl/pg_ctl.c          | 45 ++++++++++++++++++++++++++++------------
src/bin/pg_ctl/t/003_promote.pl  | 18 +++++++++++++++-
3 files changed, 72 insertions(+), 20 deletions(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: pgsql: Delay updating control file to "in production"
Следующее
От: Peter Eisentraut
Дата:
Сообщение: pgsql: Make command_like output more compact