Re: [PATCHES] odd output in restore mode

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Kevin Grittner <Kevin(dot)Grittner(at)wicourts(dot)gov>
Cc: Simon Riggs <simon(at)2ndquadrant(dot)com>, Heikki Linnakangas <heikki(at)enterprisedb(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-23 21:01:18
Message-ID: 48879C1E.9090600@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

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 - or maybe provide a .bat file or perl script that
would work as na archive_command on Windows.

cheers

andrew

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Dimitri Fontaine 2008-07-23 21:08:19 PostgreSQL extensions packaging
Previous Message Tom Lane 2008-07-23 20:51:42 Re: Postgres-R: internal messaging

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2008-07-23 21:26:49 Re: [PATCHES] GIN improvements
Previous Message Alvaro Herrera 2008-07-23 20:44:30 Re: [PATCHES] GIN improvements