confusing archive_command example

From: Josh Kupershmidt <schmiddy(at)gmail(dot)com>
To: pgsql-docs(at)postgresql(dot)org
Subject: confusing archive_command example
Date: 2010-03-29 16:34:46
Message-ID: 4ec1cf761003290934l5e61efd3gdbddeeda3c6be185@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Peter Eisentraut 2010-03-29 22:01:19 Re: include no validation of XML schema in 8.13.1- the XML Type
Previous Message Fujii Masao 2010-03-26 13:21:42 Re: [HACKERS] Incrementally Updated Backups and restartpoints