Re: [DOCS] somewhat wrong archive_command example

2012-08-25 Thread Bruce Momjian
On Sat, Aug 25, 2012 at 07:07:55PM -0400, Bruce Momjian wrote: > > >I have made all the suggestions posted and would like to add the > > >attached script to our documentation as a simple example. > > > > Btw., is anyone else concerned about using plain cp for this? If > > the cp fails half-way, i

Re: [DOCS] somewhat wrong archive_command example

2012-08-25 Thread Bruce Momjian
On Fri, Aug 17, 2012 at 03:51:44PM -0400, Peter Eisentraut wrote: > On 8/15/12 9:13 PM, Bruce Momjian wrote: > >>Few more suggestions/nitpicks: > >> 1.) IMO it's more logical to put the test for whether the $ARCHIVE > >>directory exists before the test whether ${ARCHIVE}/${FILE} exists. > >> 2.)