From: Heikki Linnakangas <heikki@enterprisedb.com>
To: Andrew Dunstan <andrew@dunslane.net>
Cc: Kevin Grittner <Kevin.Grittner@wicourts.gov>
Cc: Simon Riggs <simon@2ndquadrant.com>
Cc: Bruce Momjian <bruce@momjian.us>
Cc: Dave Page <dpage@pgadmin.org>
Cc: PostgreSQL-development <pgsql-hackers@postgresql.org>
Cc: List pgsql-patches <pgsql-patches@postgresql.org>
Cc: Martin Zaun <Martin.Zaun@Sun.COM>
Subject: Re: [PATCHES] odd output in restore mode
Date: Mon, 28 Jul 2008 10:28:06 +0300
Message-ID: <488D7506.9000903@enterprisedb.com> (raw)
In-Reply-To: <48879C1E.9090600@dunslane.net>
References: <200807011520.m61FKhZ20311@momjian.us>
<48867904.9090001@sun.com>
<1216810783.3894.602.camel@ebony.2ndQuadrant>
<48877AC0.7070603@enterprisedb.com>
<48873C7E.EE98.0025.0@wicourts.gov>
<48879C1E.9090600@dunslane.net>
Andrew Dunstan wrote:
> 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
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-patches@postgresql.org
Cc: heikki@enterprisedb.com, andrew@dunslane.net, Kevin.Grittner@wicourts.gov, simon@2ndquadrant.com, bruce@momjian.us, dpage@pgadmin.org, pgsql-hackers@postgresql.org, Martin.Zaun@Sun.COM
Subject: Re: [PATCHES] odd output in restore mode
In-Reply-To: <488D7506.9000903@enterprisedb.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox