pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Heikki Linnakangas <hlinnakangas@vmware.com>
To: Andres Freund <andres@2ndquadrant.com>
Cc: Jeff Janes <jeff.janes@gmail.com>
Cc: pgsql-bugs@postgresql.org
Subject: Re: PITR potentially broken in 9.2
Date: Wed, 28 Nov 2012 15:37:38 +0200
Message-ID: <50B613A2.3080601@vmware.com> (raw)
In-Reply-To: <20121128132650.GB3892@awork2.anarazel.de>
References: <CAMkU=1wpvYJVEDo6Qvq4QbosZ+AV6BMVCf+XVCG=mJqFRjQ8Pg@mail.gmail.com>
	<20121128132650.GB3892@awork2.anarazel.de>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

On 28.11.2012 15:26, Andres Freund wrote:
> Hm. Are you sure its actually reading your backup file? Its hard to say
> without DEBUG1 output but I would tentatively say its not reading it at
> all because the the "redo starts at ..." message indicates its not using
> the checkpoint location from the backup file.

By backup file, you mean the backup history file? Since 9.0, recovery 
does not read the backup history file, it's for informational/debugging 
purposes only. All the information recovery needs is in the 
backup_label, and an end-of-backup WAL record marks the location where 
pg_stop_backup() was called, ie. how far the WAL must be replayed for 
the backup to be consistent.

> Can you reproduce the issue? If so, can you give an exact guide? If not,
> do you still have the datadir et al. from above?

I just committed a fix for this, but if you can, it would still be nice 
if you could double-check that it now really works.

- Heikki


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

Message-ID: <50B613A2.3080601@vmware.com>
Permalink:  ../50B613A2.3080601@vmware.com/
Also on:    postgresql.org/message-id/50B613A2.3080601@vmware.com

 · 

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: hlinnakangas@vmware.com, andres@2ndquadrant.com, jeff.janes@gmail.com
  Subject: Re: PITR potentially broken in 9.2
  In-Reply-To: <50B613A2.3080601@vmware.com>
  References: <CAMkU=1wpvYJVEDo6Qvq4QbosZ+AV6BMVCf+XVCG=mJqFRjQ8Pg@mail.gmail.com> <20121128132650.GB3892@awork2.anarazel.de> <50B613A2.3080601@vmware.com>

* 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