Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1aLYSc-0001Lw-Od for pgsql-bugs@arkaria.postgresql.org; Tue, 19 Jan 2016 15:44:46 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1aLYSc-00069R-Bk for pgsql-bugs@arkaria.postgresql.org; Tue, 19 Jan 2016 15:44:46 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1aLYSZ-00063N-6W for pgsql-bugs@postgresql.org; Tue, 19 Jan 2016 15:44:43 +0000 Received: from mail.anarazel.de ([217.115.131.40]) by magus.postgresql.org with esmtp (Exim 4.84) (envelope-from ) id 1aLYSW-0000A6-E2 for pgsql-bugs@postgresql.org; Tue, 19 Jan 2016 15:44:42 +0000 Received: by mail.anarazel.de (Postfix, from userid 108) id 947B0580003; Tue, 19 Jan 2016 16:44:39 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on mail X-Spam-Level: X-Spam-Status: No, score=-5.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.5 Received: from anarazel.de (p54BEB34C.dip0.t-ipconnect.de [84.190.179.76]) (Authenticated sender: andres@anarazel.de) by mail.anarazel.de (Postfix) with ESMTPSA id 103F0580004; Tue, 19 Jan 2016 16:44:33 +0100 (CET) Received: by anarazel.de (Postfix, from userid 1000) id 5814710CF81; Tue, 19 Jan 2016 16:44:33 +0100 (CET) Date: Tue, 19 Jan 2016 16:44:33 +0100 From: Andres Freund To: postgresql.org@gclough.com Cc: pgsql-bugs@postgresql.org Subject: Re: BUG #13876: pg_xlogdump give an error on timeline switch Message-ID: <20160119154433.GA9311@awork2.anarazel.de> References: <20160119153448.2961.55971@wrigleys.postgresql.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160119153448.2961.55971@wrigleys.postgresql.org> X-Pg-Spam-Score: -4.2 (----) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org 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