pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter_e@gmx.net>
To: Michael Paquier <michael.paquier@gmail.com>
To: PostgreSQL mailing lists <pgsql-bugs@postgresql.org>
Cc: Heikki Linnakangas <hlinnaka@iki.fi>
Subject: Re: pg_rewind exiting with error code 1 when source and target are on the same timeline
Date: Wed, 21 Oct 2015 15:08:20 -0400
Message-ID: <5627E2A4.4000402@gmx.net> (raw)
In-Reply-To: <CAB7nPqSyLo4Jzp7-2hJh24YEU99tspkWj7vtj7NYTGcXasw2hg@mail.gmail.com>
References: <CAB7nPqSyLo4Jzp7-2hJh24YEU99tspkWj7vtj7NYTGcXasw2hg@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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.



-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (14+ messages)  latest in thread

Message-ID: <5627E2A4.4000402@gmx.net>
Permalink:  ../5627E2A4.4000402@gmx.net/
Also on:    postgresql.org/message-id/5627E2A4.4000402@gmx.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: peter_e@gmx.net, michael.paquier@gmail.com, hlinnaka@iki.fi
  Subject: Re: pg_rewind exiting with error code 1 when source and target are on the same timeline
  In-Reply-To: <5627E2A4.4000402@gmx.net>
  References: <CAB7nPqSyLo4Jzp7-2hJh24YEU99tspkWj7vtj7NYTGcXasw2hg@mail.gmail.com> <5627E2A4.4000402@gmx.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox