diff options
author | Magnus Hagander <magnus@hagander.net> | 2008-04-23 13:44:59 +0000 |
---|---|---|
committer | Magnus Hagander <magnus@hagander.net> | 2008-04-23 13:44:59 +0000 |
commit | c979a1fefafcc83553bf218c7f2270cad77ea31d (patch) | |
tree | 7bbf70239a28d7bd5bf239fd93ebc1f37a85c39e /doc/src/sgml/ref/pg_ctl-ref.sgml | |
parent | cf23b75b4dce75151df7164ed72263e66b758ae9 (diff) |
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
Diffstat (limited to 'doc/src/sgml/ref/pg_ctl-ref.sgml')
-rw-r--r-- | doc/src/sgml/ref/pg_ctl-ref.sgml | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/doc/src/sgml/ref/pg_ctl-ref.sgml b/doc/src/sgml/ref/pg_ctl-ref.sgml index f4200718c7a..2d0b8a33ee2 100644 --- a/doc/src/sgml/ref/pg_ctl-ref.sgml +++ b/doc/src/sgml/ref/pg_ctl-ref.sgml @@ -1,5 +1,5 @@ <!-- -$PostgreSQL: pgsql/doc/src/sgml/ref/pg_ctl-ref.sgml,v 1.44 2007/11/10 21:48:51 momjian Exp $ +$PostgreSQL: pgsql/doc/src/sgml/ref/pg_ctl-ref.sgml,v 1.45 2008/04/23 13:44:58 mha Exp $ PostgreSQL documentation --> @@ -133,9 +133,10 @@ PostgreSQL documentation In <option>stop</option> mode, the server that is running in the specified data directory is shut down. Three different shutdown methods can be selected with the <option>-m</option> - option: <quote>Smart</quote> mode waits for all the clients to - disconnect. This is the default. <quote>Fast</quote> mode does - not wait for clients to disconnect. All active transactions are + option: <quote>Smart</quote> mode waits for online backup mode + to finish and all the clients to disconnect. This is the default. + <quote>Fast</quote> mode does not wait for clients to disconnect and + will terminate an online backup in progress. All active transactions are rolled back and clients are forcibly disconnected, then the server is shut down. <quote>Immediate</quote> mode will abort all server processes without a clean shutdown. This will lead to |