confusing archive_command example - Mailing list pgsql-docs

From Josh Kupershmidt
Subject confusing archive_command example
Date
Msg-id 4ec1cf761003290934l5e61efd3gdbddeeda3c6be185@mail.gmail.com
Whole thread Raw
Responses Re: confusing archive_command example  (Bruce Momjian <bruce@momjian.us>)
List 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 by date:

Previous
From: Fujii Masao
Date:
Subject: Re: [HACKERS] Incrementally Updated Backups and restartpoints
Next
From: Peter Eisentraut
Date:
Subject: Re: include no validation of XML schema in 8.13.1- the XML Type