pgsql: pg_rewind: Don't error if the two clusters are already on the sa - Mailing list pgsql-committers

From Peter Eisentraut
Subject pgsql: pg_rewind: Don't error if the two clusters are already on the sa
Date
Msg-id E1a7XBm-0007Vw-CK@gemulon.postgresql.org
Whole thread Raw
Responses Re: pgsql: pg_rewind: Don't error if the two clusters are already on the sa
List 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 by date:

Previous
From: Alvaro Herrera
Date:
Subject: pgsql: For REASSIGN OWNED for foreign user mappings
Next
From: Tom Lane
Date:
Subject: pgsql: Add an expected-file to match behavior of latest libxml2.