Re: confusing archive_command example - Mailing list pgsql-docs

From Bruce Momjian
Subject Re: confusing archive_command example
Date
Msg-id 201003312345.o2VNjGW24641@momjian.us
Whole thread Raw
In response to Re: confusing archive_command example  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: confusing archive_command example  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-docs
Tom Lane wrote:
> Bruce Momjian <bruce@momjian.us> writes:
> > As far as "...", those are used to show only the important changes in
> > the string, which I think is the right approach, but I did change the
> > line so the dots are not right up against slashes:
> >     archive_command = 'test ! -f ... %f && cp %p ... %f'
>
> This is *not* an improvement, because it makes it look like the %f is a
> separate command argument.  Please revert if you can't think of
> something better.

What about:

     archive_command = 'test ! -f ...%f && cp %p ...%f'

--
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

pgsql-docs by date:

Previous
From: Tom Lane
Date:
Subject: Re: confusing archive_command example
Next
From: Tom Lane
Date:
Subject: Re: confusing archive_command example