postgres.git / summary / log / commit / refs

commit    570e01becc662888f147d4e53b2011bd852aad31
Author:   Bruce Momjian <bruce@momjian.us>
Date:     Thu Apr 01 00:31:00 2010 +0000
First released in: 9.0.0

    Use test -e rather than test -f.


doc/src/sgml/backup.sgml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/src/sgml/backup.sgml b/doc/src/sgml/backup.sgml index 039eb0e44ca..019fb81c1a0 100644 --- a/doc/src/sgml/backup.sgml +++ b/doc/src/sgml/backup.sgml @@ -1,4 +1,4 @@ -<!-- $PostgreSQL: pgsql/doc/src/sgml/backup.sgml,v 2.147 2010/03/31 23:51:41 momjian Exp $ --> +<!-- $PostgreSQL: pgsql/doc/src/sgml/backup.sgml,v 2.148 2010/04/01 00:31:00 momjian Exp $ --> <chapter id="backup"> <title>Backup and Restore</title> @@ -611,7 +611,7 @@ cp -i pg_xlog/00000001000000A900000065 /mnt/server/archivedir/00000001000000A900 add a command to test for the existence of the archive file. For example, something like: <programlisting> -archive_command = 'test ! -f .../%f &amp;&amp; cp %p .../%f' +archive_command = 'test ! -e .../%f &amp;&amp; cp %p .../%f' </programlisting> works correctly on most Unix variants. </para> [parent: 8ae5160bf3c5]