Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TdhzW-0003e9-35 for pgsql-bugs@arkaria.postgresql.org; Wed, 28 Nov 2012 13:47:54 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1TdhzV-0008NQ-3q for pgsql-bugs@arkaria.postgresql.org; Wed, 28 Nov 2012 13:47:53 +0000 Received: from magus.postgresql.org ([87.238.57.229]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TdhzU-0008NK-8n for pgsql-bugs@postgresql.org; Wed, 28 Nov 2012 13:47:52 +0000 Received: from moutng.kundenserver.de ([212.227.17.8]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TdhzR-0007ei-MC for pgsql-bugs@postgresql.org; Wed, 28 Nov 2012 13:47:51 +0000 Received: from anarazel.de (p5DDC6C57.dip.t-dialin.net [93.220.108.87]) by mrelayeu.kundenserver.de (node=mreu2) with ESMTP (Nemesis) id 0Le9EG-1SsZTs0p3s-00qMwS; Wed, 28 Nov 2012 14:47:48 +0100 Received: by anarazel.de (Postfix, from userid 1000) id 20D931C00E5; Wed, 28 Nov 2012 14:47:47 +0100 (CET) Date: Wed, 28 Nov 2012 14:47:47 +0100 From: Andres Freund To: Heikki Linnakangas Cc: Jeff Janes , pgsql-bugs@postgresql.org Subject: Re: PITR potentially broken in 9.2 Message-ID: <20121128134746.GB18785@awork2.anarazel.de> References: <20121128132650.GB3892@awork2.anarazel.de> <50B613A2.3080601@vmware.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <50B613A2.3080601@vmware.com> X-Provags-ID: V02:K0:sYtdNi5QBog55s55RGjks6T/nuRHpZ9sBkQLXZLQNkW hffUgMR3zkeT5kcqR7c3bivxA2wWafkw+BJ6NCz5B0Nr/L220g xkItggfEbuTkTTRupfRXimvpm1Q7FQ2NQwZBlS6WBFGLen2Q3O PDpC5TpwDHhCrH8TLArGA6toVOvkz6Wl5cpod6D+HRwoo3ThnR Z2rXLaFN2uPPg0vOF7Ik9sSROBYPXlZhfxqmNJhLKV4FR5Y+jU EVtFBRdYdUZc+yfosFLz9Zm+fhfKVFAYDP36hdnp5dngynpYiZ zJBnSPyC9PpRS4DfLe8zaPmd3Ih+UVgzxIxyjy1k26crRUMEZW /h+bGbyjA7OcNXywg47M3NL3UZO2hj4mU7PZwou6U X-Pg-Spam-Score: -1.9 (-) 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 2012-11-28 15:37:38 +0200, Heikki Linnakangas wrote: > 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. > I mean the label read by read_backup_label(). Jeff's mail indicated it had CHECKPOINT_LOCATION at 1/188D8120 but redo started at 1/CD89E48. >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. Yuck. Too bad that that got in. Greetings, Andres Freund -- Andres Freund http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs