Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Tdhpf-0003VG-8W for pgsql-bugs@arkaria.postgresql.org; Wed, 28 Nov 2012 13:37:43 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1Tdhpe-0006qb-L2 for pgsql-bugs@arkaria.postgresql.org; Wed, 28 Nov 2012 13:37:42 +0000 Received: from magus.postgresql.org ([87.238.57.229]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Tdhpc-0006pU-UF for pgsql-bugs@postgresql.org; Wed, 28 Nov 2012 13:37:40 +0000 Received: from smtp-outbound-2.vmware.com ([208.91.2.13]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Tdhpb-0007Uc-3l for pgsql-bugs@postgresql.org; Wed, 28 Nov 2012 13:37:40 +0000 Received: from sc9-mailhost2.vmware.com (sc9-mailhost2.vmware.com [10.113.161.72]) by smtp-outbound-2.vmware.com (Postfix) with ESMTP id 0F1862810E; Wed, 28 Nov 2012 05:37:38 -0800 (PST) Received: from zcs-prod-ext-mta-1.vmware.com (zcs-prod-ext-mta-1.vmware.com [10.113.62.223]) by sc9-mailhost2.vmware.com (Postfix) with ESMTP id 0A1B0B0464; Wed, 28 Nov 2012 05:37:38 -0800 (PST) Received: from localhost (localhost.localdomain [127.0.0.1]) by zcs-prod-ext-mta-1.vmware.com (Postfix) with ESMTP id 0C73F1219C4; Wed, 28 Nov 2012 05:38:28 -0800 (PST) X-Virus-Scanned: amavisd-new at zcs-prod-ext-mta-1.vmware.com Received: from zcs-prod-ext-mta-1.vmware.com ([127.0.0.1]) by localhost (zcs-prod-ext-mta-1.vmware.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id OMgNevkvnbFp; Wed, 28 Nov 2012 05:38:27 -0800 (PST) Received: from [192.168.1.90] (unknown [10.113.62.14]) by zcs-prod-ext-mta-1.vmware.com (Postfix) with ESMTPSA id 18FE31219C1; Wed, 28 Nov 2012 05:38:26 -0800 (PST) Message-ID: <50B613A2.3080601@vmware.com> Date: Wed, 28 Nov 2012 15:37:38 +0200 From: Heikki Linnakangas Organization: VMware User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.10) Gecko/20121027 Icedove/10.0.10 MIME-Version: 1.0 To: Andres Freund CC: Jeff Janes , pgsql-bugs@postgresql.org Subject: Re: PITR potentially broken in 9.2 References: <20121128132650.GB3892@awork2.anarazel.de> In-Reply-To: <20121128132650.GB3892@awork2.anarazel.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -7.3 (-------) 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 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