Re: pg_rewind exiting with error code 1 when source and target are on the same timeline

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>, PostgreSQL mailing lists <pgsql-bugs(at)postgresql(dot)org>
Cc: Heikki Linnakangas <hlinnaka(at)iki(dot)fi>
Subject: Re: pg_rewind exiting with error code 1 when source and target are on the same timeline
Date: 2015-10-21 19:08:20
Message-ID: 5627E2A4.4000402@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On 10/20/15 9:31 PM, Michael Paquier wrote:
> I have been pinged internally by a user by the fact that pg_rewind
> returns 1 as exit code if the target and source nodes are on the same
> timeline.

I agree that that should not be an error.

But I think in that case we should just delete that check and have the
subsequent checks end up at the existing "no rewind required" result.

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2015-10-21 19:46:41 Re: [BUGS] BUG #13694: Row Level Security by-passed with CREATEUSER permission
Previous Message Joe Conway 2015-10-21 18:28:03 Re: BUG #13694: Row Level Security by-passed with CREATEUSER permission