Re: [PATCHES] odd output in restore mode - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: [PATCHES] odd output in restore mode
Date
Msg-id 48879C1E.9090600@dunslane.net
Whole thread Raw
In response to Re: [PATCHES] odd output in restore mode  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
Responses Re: [PATCHES] odd output in restore mode  ("Heikki Linnakangas" <heikki@enterprisedb.com>)
List pgsql-hackers

Kevin Grittner wrote:
>>>> "Heikki Linnakangas" <heikki@enterprisedb.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 - or maybe provide a .bat file or perl script that
would work as na archive_command on Windows.

cheers

andrew

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Postgres-R: internal messaging
Next
From: Dimitri Fontaine
Date:
Subject: PostgreSQL extensions packaging