mirror of
https://github.com/postgres/postgres.git
synced 2025-07-15 19:21:59 +03:00
Change explanation of pg_switch_xlog()'s return value to match code.
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
<!-- $PostgreSQL: pgsql/doc/src/sgml/func.sgml,v 1.347.2.7 2007/04/07 15:43:47 momjian Exp $ -->
|
||||
<!-- $PostgreSQL: pgsql/doc/src/sgml/func.sgml,v 1.347.2.8 2009/01/15 18:23:53 heikki Exp $ -->
|
||||
|
||||
<chapter id="functions">
|
||||
<title>Functions and Operators</title>
|
||||
@ -10295,10 +10295,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>
|
||||
|
Reference in New Issue
Block a user