Skip site navigation (1) Skip section navigation (2)

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: (view raw, whole thread or download thread mbox)
Lists: pgsql-docs
On the page:

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 "..".



pgsql-docs by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group