All:
The example archive_command we give in the docs is this one:
archive_command = 'test ! -f /mnt/server/archivedir/%f && cp %p
/mnt/server/archivedir/%f'
This is a problematic recommendation. If there's any reason why copying
the archive file gets interrupted (storage blip, for example), then the
command will fail and will continue to fail forever, ending archiving.
Is there some good reason why "test ! -f" was added to the sample?
--
Josh Berkus
PostgreSQL Experts Inc.
http://pgexperts.com