X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 4BB3511F6087 for ; Sat, 29 Apr 2006 16:23:11 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 17411-03-5 for ; Sat, 29 Apr 2006 16:22:39 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id 9C5A211F622E for ; Sat, 29 Apr 2006 16:13:46 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.6/8.13.6) with ESMTP id k3TJDiB1025996; Sat, 29 Apr 2006 15:13:44 -0400 (EDT) To: andy@andycc.net cc: pgsql-admin@postgresql.org Subject: Re: WAL recovery question - 0000001.history In-reply-to: References: <20060428152301.007F011F602A@postgresql.org> <1442.1146239314@sss.pgh.pa.us> Comments: In-reply-to andy@andycc.net message dated "Sat, 29 Apr 2006 14:29:53 +0100" Date: Sat, 29 Apr 2006 15:13:44 -0400 Message-ID: <25995.1146338024@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200604/362 X-Sequence-Number: 21531 andy@andycc.net writes: > Hi Tom,Thanks for this.  Do you know why Postgres was asking for > 00000001.history?  Surely it would know by the presence of the > backup_label file, and its contents that it needs to go straight for the > xxxxxx.backup file, which should exist? It still needs to worry about timelines. Feel free to study the logic in xlog.c ... regards, tom lane