pgsql: pg_rewind: Don't error if the two clusters are already on the sa

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема pgsql: pg_rewind: Don't error if the two clusters are already on the sa
Дата
Msg-id E1a7XBm-0007Vw-CK@gemulon.postgresql.org
обсуждение исходный текст
Ответы Re: pgsql: pg_rewind: Don't error if the two clusters are already on the sa  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-committers
pg_rewind: Don't error if the two clusters are already on the same timeline

This previously resulted in an error and a nonzero exit status, but
after discussion this should rather be a noop with a zero exit status.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/6b34e5563849edc12896bf5754e8fe7b88012697

Modified Files
--------------
src/bin/pg_rewind/pg_rewind.c            |   59 ++++++++++++++++--------------
src/bin/pg_rewind/t/005_same_timeline.pl |   14 +++++++
2 files changed, 46 insertions(+), 27 deletions(-)


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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: pgsql: For REASSIGN OWNED for foreign user mappings
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Add an expected-file to match behavior of latest libxml2.