confusing archive_command example

Поиск
Список
Период
Сортировка
От Josh Kupershmidt
Тема confusing archive_command example
Дата
Msg-id 4ec1cf761003290934l5e61efd3gdbddeeda3c6be185@mail.gmail.com
обсуждение исходный текст
Ответы Re: confusing archive_command example  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-docs
Hi,
On the page:
http://www.postgresql.org/docs/current/interactive/continuous-archiving.html#BACKUP-ARCHIVING-WAL

an example archive_command of:
archive_command = 'cp -i %p /mnt/server/archivedir/%f </dev/null'

is given. Then, a few lines later, an example archive command of:
archive_command = 'test ! -f .../%f && cp %p .../%f'

is given. I think this second command would be more clear if it used
"/mnt/server/archivedir/" instead of "...", to tie in with the
previous archive_command. It took me a minute to figure out that the
three dots were supposed to be an ellipsis instead of a typo for the
parent directory "..".

Josh

В списке pgsql-docs по дате отправления:

Предыдущее
От: Fujii Masao
Дата:
Сообщение: Re: [HACKERS] Incrementally Updated Backups and restartpoints
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: include no validation of XML schema in 8.13.1- the XML Type