aboutsummaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2010-04-29 21:49:03 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2010-04-29 21:49:03 +0000
commit69f7a4d8e322f7f93d1c6d91c7eabd9d5925a401 (patch)
tree535568f07481358e3377b2f608e9dba6707529e5 /doc/src
parentf0488bd57c3745b5dbed80e884ee5452e77314c9 (diff)
downloadpostgresql-69f7a4d8e322f7f93d1c6d91c7eabd9d5925a401.tar.gz
postgresql-69f7a4d8e322f7f93d1c6d91c7eabd9d5925a401.zip
Adjust error checks in pg_start_backup and pg_stop_backup to make it possible
to perform a backup without archive_mode being enabled. This gives up some user-error protection in order to improve usefulness for streaming-replication scenarios. Per discussion.
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/backup.sgml3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/src/sgml/backup.sgml b/doc/src/sgml/backup.sgml
index 9055517af54..f67b778a547 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.153 2010/04/28 16:10:39 heikki Exp $ -->
+<!-- $PostgreSQL: pgsql/doc/src/sgml/backup.sgml,v 2.154 2010/04/29 21:49:03 tgl Exp $ -->
<chapter id="backup">
<title>Backup and Restore</title>
@@ -779,6 +779,7 @@ SELECT pg_stop_backup();
Once the WAL segment files active during the backup are archived, you are
done. The file identified by <function>pg_stop_backup</>'s result is
the last segment that is required to form a complete set of backup files.
+ If <varname>archive_mode</> is enabled,
<function>pg_stop_backup</> does not return until the last segment has
been archived.
Archiving of these files happens automatically since you have