]> granicus.if.org Git - postgresql/commit
Add a note to the documentation of pg_standby that it's important that
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Fri, 5 Feb 2010 11:08:02 +0000 (11:08 +0000)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Fri, 5 Feb 2010 11:08:02 +0000 (11:08 +0000)
commita085a6a77c65e10d7c24d134677cce223e1db94e
treee24ac2977c4446c7a816588eaf22ef59d3dc5016
parentd76c491cb9431490a6531fb8b98aef6042f09768
Add a note to the documentation of pg_standby that it's important that
the postgres process has permissions to delete the trigger file, per
suggestion by Mason Hale.

Also fix pg_standby to do a more predictable exit(200) instead of the
current exit(-1) when the unlink of the trigger file fails anyway.

This only affects 8.3 branch. Older versions didn't have pg_standby,
and in 8.4 upwards pg_standby is no longer responsible for deleting the
trigger file; it's supposed to be done by recovery_end_command instead.
contrib/pg_standby/pg_standby.c
doc/src/sgml/pgstandby.sgml