Skip site navigation (1) Skip section navigation (2)

Re: confusing archive_command example

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Josh Kupershmidt <schmiddy(at)gmail(dot)com>, pgsql-docs(at)postgresql(dot)org
Subject: Re: confusing archive_command example
Date: 2010-03-31 23:51:14
Message-ID: 201003312351.o2VNpFd25456@momjian.us (view raw or flat)
Thread:
Lists: pgsql-docs
Tom Lane wrote:
> Bruce Momjian <bruce(at)momjian(dot)us> writes:
> > What about:
> >  	archive_command = 'test ! -f ...%f &amp;&amp; cp %p ...%f'
> 
> Perhaps, though I still think this isn't an improvement over the
> original.

His complaint was that .../%f looks like ../%f;  is that a valid
concern?  I have reverted the change.  Also, should we be using test !
-e instead of -f?

-- 
  Bruce Momjian  <bruce(at)momjian(dot)us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

In response to

Responses

pgsql-docs by date

Next:From: Tom LaneDate: 2010-04-01 00:03:03
Subject: Re: confusing archive_command example
Previous:From: Tom LaneDate: 2010-03-31 23:46:49
Subject: Re: confusing archive_command example

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group