Re: [HACKERS]odd output in restore mode

"Heikki Linnakangas" <[email protected]> Mon, 28 Jul 2008 10:28:06 +0300
Newsgroups gmane.comp.db.postgresql.devel.patches,gmane.comp.db.postgresql.devel.general
Organization EnterpriseDB
Message-ID <[email protected]>
Andrew Dunstan wrote:
> Kevin Grittner wrote:
>>>>> "Heikki Linnakangas" <[email protected]> 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?
> 
> Needs testing at least. If it does in fact work then we can just adjust 
> the docs and be done 

Yeah.

> - or maybe provide a .bat file or perl script that 
> would work as na archive_command on Windows.

We're not talking about archive_command. We're talking about the thing 
that copies files to the directory that pg_standby polls.

-- 
   Heikki Linnakangas
   EnterpriseDB   http://www.enterprisedb.com

-- 
Sent via pgsql-patches mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-patches