From: Heikki Linnakangas Date: Thu, 15 Jan 2009 18:19:58 +0000 (+0000) Subject: Change explanation of pg_switch_xlog()'s return value to match code. X-Git-Tag: recoveryinfrav9~33 X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=262bdd061906c8e16620ba50177b0dab09637d73;p=users%2Fsimon%2Fpostgres.git Change explanation of pg_switch_xlog()'s return value to match code. --- diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml index a34536fdbf..1900d6a5fc 100644 --- a/doc/src/sgml/func.sgml +++ b/doc/src/sgml/func.sgml @@ -12849,10 +12849,10 @@ postgres=# select pg_start_backup('label_goes_here'); 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, - pg_switch_xlog does nothing and returns the end location - of the previous transaction log file. + pg_switch_xlog does nothing and returns the start location + of the transaction log file currently in use.