Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 0C607650111; Wed, 23 Jul 2008 16:14:55 -0300 (ADT) Received: from postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 68709-05-5; Wed, 23 Jul 2008 16:14:45 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from gwmta.wicourts.gov (gwmta.wicourts.gov [165.219.244.99]) by postgresql.org (Postfix) with ESMTP id D59E665037A; Wed, 23 Jul 2008 16:11:23 -0300 (ADT) Received: from Courts-MTA by gwmta.wicourts.gov with Novell_GroupWise; Wed, 23 Jul 2008 14:11:21 -0500 Message-Id: <48873C7E.EE98.0025.0@wicourts.gov> X-Mailer: Novell GroupWise Internet Agent 7.0.3 Date: Wed, 23 Jul 2008 14:11:06 -0500 From: "Kevin Grittner" To: "Simon Riggs" , "Heikki Linnakangas" Cc: "Andrew Dunstan" , "Bruce Momjian" , "Dave Page" , "PostgreSQL-development" , "List pgsql-patches" , "Martin Zaun" Subject: Re: [PATCHES] odd output in restore mode References: <200807011520.m61FKhZ20311@momjian.us> <48867904.9090001@sun.com> <1216810783.3894.602.camel@ebony.2ndQuadrant> <48877AC0.7070603@enterprisedb.com> In-Reply-To: <48877AC0.7070603@enterprisedb.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200807/1088 X-Sequence-Number: 121348 >>> "Heikki Linnakangas" wrote: > We really need a more reliable way of detecting that a file has been > fully copied. In our scripts we handle this by copying to a temp directory on the same mount point as the archive directory and doing a mv to the archive location when the copy is successfully completed. I think that this even works on Windows. Could that just be documented as a strong recommendation for the archive script? -Kevin