]> granicus.if.org Git - postgresql/commit
Prevent shutdown in normal mode if online backup is running, and
authorMagnus Hagander <magnus@hagander.net>
Wed, 23 Apr 2008 13:44:59 +0000 (13:44 +0000)
committerMagnus Hagander <magnus@hagander.net>
Wed, 23 Apr 2008 13:44:59 +0000 (13:44 +0000)
commitc979a1fefafcc83553bf218c7f2270cad77ea31d
tree7bbf70239a28d7bd5bf239fd93ebc1f37a85c39e
parentcf23b75b4dce75151df7164ed72263e66b758ae9
Prevent shutdown in normal mode if online backup is running, and
have pg_ctl warn about this.

Cancel running online backups (by renaming the backup_label file,
thus rendering the backup useless) when shutting down in fast mode.

Laurenz Albe
doc/src/sgml/ref/pg_ctl-ref.sgml
doc/src/sgml/runtime.sgml
src/backend/access/transam/xlog.c
src/backend/postmaster/postmaster.c
src/bin/pg_ctl/pg_ctl.c
src/include/miscadmin.h