Skip site navigation (1) Skip section navigation (2)

Re: [PATCHES] odd output in restore mode

From: "Heikki Linnakangas" <heikki(at)enterprisedb(dot)com>
To: "Andrew Dunstan" <andrew(at)dunslane(dot)net>
Cc: "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov>,"Simon Riggs" <simon(at)2ndquadrant(dot)com>,"Bruce Momjian" <bruce(at)momjian(dot)us>,"Dave Page" <dpage(at)pgadmin(dot)org>,"PostgreSQL-development" <pgsql-hackers(at)postgresql(dot)org>,"List pgsql-patches" <pgsql-patches(at)postgresql(dot)org>,"Martin Zaun" <Martin(dot)Zaun(at)Sun(dot)COM>
Subject: Re: [PATCHES] odd output in restore mode
Date: 2008-07-28 07:28:06
Message-ID: 488D7506.9000903@enterprisedb.com (view raw or flat)
Thread:
Lists: pgsql-hackerspgsql-patches
Andrew Dunstan wrote:
> Kevin Grittner wrote:
>>>>> "Heikki Linnakangas" <heikki(at)enterprisedb(dot)com> 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

In response to

Responses

pgsql-hackers by date

Next:From: Tatsuo IshiiDate: 2008-07-28 07:29:25
Subject: Re: WITH RECUSIVE patches 0723
Previous:From: Pavel StehuleDate: 2008-07-28 06:55:41
Subject: Re: WITH RECUSIVE patches 0723

pgsql-patches by date

Next:From: Tatsuo IshiiDate: 2008-07-28 07:29:25
Subject: Re: WITH RECUSIVE patches 0723
Previous:From: Pavel StehuleDate: 2008-07-28 06:55:41
Subject: Re: WITH RECUSIVE patches 0723

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group