pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andres Freund <andres@anarazel.de>
To: postgresql.org@gclough.com
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #13876: pg_xlogdump give an error on timeline switch
Date: Tue, 19 Jan 2016 16:44:33 +0100
Message-ID: <20160119154433.GA9311@awork2.anarazel.de> (raw)
In-Reply-To: <20160119153448.2961.55971@wrigleys.postgresql.org>
References: <20160119153448.2961.55971@wrigleys.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

On 2016-01-19 15:34:48 +0000, postgresql.org@gclough.com wrote:
> That final message was mis-interpreted as corruption in the WAL, but without
> knowing the internals of either the WAL or pg_xlogdump I can't say for sure
> that it's not corruption.  It's repeatable, so I doubt it's a problem in
> PostgreSQL core.
> 
> Could someone confirm my understanding, and if so, then could we please get
> pg_xlogdump updated to recognize an end-of-timeline?

Yes, that's pretty much correct. The "old" timeline doesn't even really
know about it, so it's not generally clear how we go forward. There
could be WAL from several parallel timelines present.

You can manually choose the timeline you want to be displayed. Either by
specifying -t or by specifying files from the other timeline.

I don't think we really need to update pg_xlogdump to do any of this
automatically - for which use case is that required?

Regards,

Andres


-- 
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 (4+ messages)  latest in thread

Message-ID: <20160119154433.GA9311@awork2.anarazel.de>
Permalink:  ../20160119154433.GA9311@awork2.anarazel.de/
Also on:    postgresql.org/message-id/20160119154433.GA9311@awork2.anarazel.de

 · 

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: andres@anarazel.de, postgresql.org@gclough.com
  Subject: Re: BUG #13876: pg_xlogdump give an error on timeline switch
  In-Reply-To: <20160119154433.GA9311@awork2.anarazel.de>
  References: <20160119153448.2961.55971@wrigleys.postgresql.org> <20160119154433.GA9311@awork2.anarazel.de>

* 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