Re: BUG #13876: pg_xlogdump give an error on timeline switch - Mailing list pgsql-bugs

From Andres Freund
Subject Re: BUG #13876: pg_xlogdump give an error on timeline switch
Date
Msg-id 20160119154433.GA9311@awork2.anarazel.de
Whole thread Raw
In response to BUG #13876: pg_xlogdump give an error on timeline switch  (postgresql.org@gclough.com)
Responses Re: BUG #13876: pg_xlogdump give an error on timeline switch
List pgsql-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

pgsql-bugs by date:

Previous
From: postgresql.org@gclough.com
Date:
Subject: BUG #13876: pg_xlogdump give an error on timeline switch
Next
From: Adrian Klaver
Date:
Subject: Re: about test_parser installation failure problem(PostgreSQL in 9.5.0)?