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

From Michael Paquier
Subject Re: pgsql: pg_rewind: Don't error if the two clusters are already on the sa
Date
Msg-id CAB7nPqQNFfkw8Zda3wSLgaz5aVZ2zHhWLpGWJQM_5xvtZROJGA@mail.gmail.com
Whole thread Raw
In response to Re: pgsql: pg_rewind: Don't error if the two clusters are already on the sa  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-committers
On Sat, Dec 12, 2015 at 9:11 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Peter Eisentraut <peter_e@gmx.net> writes:
>> 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.
>
> Hm, if we're going to do that, shouldn't we back-patch the behavior
> change into 9.5 as well?

+1. It would be good to get consistent across branches here.
--
Michael


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: Re: pgsql: pg_rewind: Don't error if the two clusters are already on the sa
Next
From: Andres Freund
Date:
Subject: pgsql: Fix ALTER TABLE ... SET TABLESPACE for unlogged relations.