Received: from localhost (unknown [200.46.204.183]) by developer.postgresql.org (Postfix) with ESMTP id 481CC2E009F for ; Tue, 13 May 2008 03:02:35 -0300 (ADT) Received: from developer.postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 18908-02-3 for ; Tue, 13 May 2008 03:02:20 -0300 (ADT) Received: from mx1.hub.org (mx1.hub.org [200.46.208.106]) by developer.postgresql.org (Postfix) with ESMTP id C4BB82E0105 for ; Tue, 13 May 2008 02:39:41 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from outmail137012.authsmtp.net (outmail137012.authsmtp.net [62.13.137.12]) by mx1.hub.org (Postfix) with ESMTP id ADF5AB07763 for ; Tue, 13 May 2008 02:38:24 -0300 (ADT) Received: from mail-c187.authsmtp.com (mail-c187.authsmtp.com [62.13.128.33]) by punt5.authsmtp.com (8.14.2/8.14.2/Kp) with ESMTP id m4D5ZnXX018316; Tue, 13 May 2008 06:35:49 +0100 (BST) Received: from [192.168.0.3] (85-211-14-22.dyn.gotadsl.co.uk [85.211.14.22]) (authenticated bits=0) by mail.authsmtp.com (8.14.2/8.14.2/Kp) with ESMTP id m4D5Zm6X082563; Tue, 13 May 2008 06:35:48 +0100 (BST) Subject: Re: odd output in restore mode From: Simon Riggs To: Andrew Dunstan Cc: Robert Treat , pgsql-hackers@postgresql.org In-Reply-To: <4828FFA6.7000806@dunslane.net> References: <4828AF1D.7060405@dunslane.net> <1210630440.29684.249.camel@ebony.site> <4828CB9D.7070102@dunslane.net> <200805122106.27351.xzilla@users.sourceforge.net> <4828FFA6.7000806@dunslane.net> Content-Type: text/plain Date: Tue, 13 May 2008 06:37:24 +0100 Message-Id: <1210657044.29684.271.camel@ebony.site> Mime-Version: 1.0 X-Mailer: Evolution 2.8.2 Content-Transfer-Encoding: 7bit X-Server-Quench: 714cfa54-20ae-11dd-941c-001185d377ca X-AuthRoute: OCdxZQATClZOTQEd DAteCiNZVAwpPBRK HVkIKg5MJUcNSQVJ NksadRtFaQZbYFhI HGQLW1xEUFt7WmZ/ bwIfZQBDYEtPQQRu TkpLXVBXCwUmXBh1 A3RDVHFyfwdDfn0+ ZEBgVz5cXUApIxd4 RlNWFTxTeGZhPDQC WURZJB5UcAJLdhoR aVd4ByJDAzANdhEY NiQQEgoKCH1YJCgd RRwRNU8OCUcNViQx XAwFBzhnGEoJSk0g X-Authentic-SMTP: 61633235383639.squirrel.dmpriest.net.uk:953/Kp X-Report-SPAM: If SPAM / abuse - report it at: http://www.authsmtp.com/abuse X-Virus-Status: No virus detected - but ensure you scan with your own anti-virus system! X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200805/400 X-Sequence-Number: 118399 On Mon, 2008-05-12 at 22:40 -0400, Andrew Dunstan wrote: > > Robert Treat wrote: > > On Monday 12 May 2008 18:58:37 Andrew Dunstan wrote: > > > >> Simon Riggs wrote: > >> > >>>> Lastly, not quite related to this output, but in the same general area, > >>>> should we have an option on pg_standby to allow removing the archive > >>>> file after it has been restored? > >>>> > >>> There already is one, but its more complex than that. (%r) > >>> > >> I was using %r. But the WAL files that have been restored (according to > >> the log) are still in the archive dir. So it looks like %r isn't working > >> properly. > >> > > Are you sure you've moved passed the latest restart point? Just because a WAL > > file has been processed doesn't mean it can be deleted. > > > Thanks. It wasn't that, but when I ran with the very latest patches this > problem went away. > Thanks for testing. -- Simon Riggs 2ndQuadrant http://www.2ndQuadrant.com