aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2009-01-15 18:23:17 +0000
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2009-01-15 18:23:17 +0000
commit3dc19e440b0ca854125317d899e34ce0e7a6d416 (patch)
treec39fd16118d462e54b073958a7d4e359ea2f7129
parent87042a196949eb63037658cc52a143d13b4ac06e (diff)
downloadpostgresql-3dc19e440b0ca854125317d899e34ce0e7a6d416.tar.gz
postgresql-3dc19e440b0ca854125317d899e34ce0e7a6d416.zip
Change explanation of pg_switch_xlog()'s return value to match code.
-rw-r--r--doc/src/sgml/func.sgml8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml
index f81d8be6644..0838ef67fb9 100644
--- a/doc/src/sgml/func.sgml
+++ b/doc/src/sgml/func.sgml
@@ -1,4 +1,4 @@
-<!-- $PostgreSQL: pgsql/doc/src/sgml/func.sgml,v 1.419.2.4 2008/11/13 14:37:32 petere Exp $ -->
+<!-- $PostgreSQL: pgsql/doc/src/sgml/func.sgml,v 1.419.2.5 2009/01/15 18:23:17 heikki Exp $ -->
<chapter id="functions">
<title>Functions and Operators</title>
@@ -12004,10 +12004,10 @@ postgres=# select pg_start_backup('label_goes_here');
<para>
<function>pg_switch_xlog</> moves to the next transaction log file, allowing the
current file to be archived (assuming you are using continuous archiving).
- The result is the ending transaction log location within the just-completed transaction log file.
+ The result is the ending transaction log location + 1 within the just-completed transaction log file.
If there has been no transaction log activity since the last transaction log switch,
- <function>pg_switch_xlog</> does nothing and returns the end location
- of the previous transaction log file.
+ <function>pg_switch_xlog</> does nothing and returns the start location
+ of the transaction log file currently in use.
</para>
<para>