Skip to content

Commit 14bfea3

Browse files
committed
Change explanation of pg_switch_xlog()'s return value to match code.
1 parent 41d17e0 commit 14bfea3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

doc/src/sgml/func.sgml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- $PostgreSQL: pgsql/doc/src/sgml/func.sgml,v 1.469 2009/01/08 14:46:50 momjian Exp $ -->
1+
<!-- $PostgreSQL: pgsql/doc/src/sgml/func.sgml,v 1.470 2009/01/15 18:19:58 heikki Exp $ -->
22

33
<chapter id="functions">
44
<title>Functions and Operators</title>
@@ -12849,10 +12849,10 @@ postgres=# select pg_start_backup('label_goes_here');
1284912849
<para>
1285012850
<function>pg_switch_xlog</> moves to the next transaction log file, allowing the
1285112851
current file to be archived (assuming you are using continuous archiving).
12852-
The result is the ending transaction log location within the just-completed transaction log file.
12852+
The result is the ending transaction log location + 1 within the just-completed transaction log file.
1285312853
If there has been no transaction log activity since the last transaction log switch,
12854-
<function>pg_switch_xlog</> does nothing and returns the end location
12855-
of the previous transaction log file.
12854+
<function>pg_switch_xlog</> does nothing and returns the start location
12855+
of the transaction log file currently in use.
1285612856
</para>
1285712857

1285812858
<para>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy