pg.ddx.io  pgsql-patches@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrew Dunstan <andrew@dunslane.net>
To: Kevin Grittner <Kevin.Grittner@wicourts.gov>
Cc: Simon Riggs <simon@2ndquadrant.com>
Cc: Heikki Linnakangas <heikki@enterprisedb.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: Wed, 23 Jul 2008 17:01:18 -0400
Message-ID: <48879C1E.9090600@dunslane.net> (raw)
In-Reply-To: <48873C7E.EE98.0025.0@wicourts.gov>
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>



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



view thread (59+ messages)  latest in thread

Message-ID: <48879C1E.9090600@dunslane.net>
Permalink:  ../48879C1E.9090600@dunslane.net/
Also on:    postgresql.org/message-id/48879C1E.9090600@dunslane.net

 · 

reply

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: andrew@dunslane.net, Kevin.Grittner@wicourts.gov, simon@2ndquadrant.com, heikki@enterprisedb.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: <48879C1E.9090600@dunslane.net>

* 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