Re: confusing archive_command example

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: confusing archive_command example
Дата
Msg-id 201003312345.o2VNjGW24641@momjian.us
обсуждение исходный текст
Ответ на Re: confusing archive_command example  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: confusing archive_command example  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: confusing archive_command example
Следующее
От: Tom Lane
Дата:
Сообщение: Re: confusing archive_command example