diff options
author | Robert Haas <rhaas@postgresql.org> | 2010-06-17 01:32:09 +0000 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2010-06-17 01:32:09 +0000 |
commit | 5c5184c04397b65e551ddf0250484eb381f50f9f (patch) | |
tree | 742e004c4523d515da28c5804d9dbfe1fb0ad667 /doc/src | |
parent | 147c665d01002193a161a34f0e646d7c85d00c15 (diff) | |
download | postgresql-5c5184c04397b65e551ddf0250484eb381f50f9f.tar.gz postgresql-5c5184c04397b65e551ddf0250484eb381f50f9f.zip |
Document that receive location can rewind if replication restarts.
Fujii Masao, with some further wordsmithing by me.
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/sgml/func.sgml | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml index f4831359215..3037aaf1a6f 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.518 2010/06/10 07:00:25 heikki Exp $ --> +<!-- $PostgreSQL: pgsql/doc/src/sgml/func.sgml,v 1.519 2010/06/17 01:32:09 rhaas Exp $ --> <chapter id="functions"> <title>Functions and Operators</title> @@ -13282,10 +13282,13 @@ postgres=# SELECT * FROM pg_xlogfile_name_offset(pg_stop_backup()); <entry><type>text</type></entry> <entry>Get last transaction log location received and synced to disk by streaming replication. While streaming replication is in progress - this will increase monotonically. If recovevery has completed - this will remain static at the value of the last WAL record - received and synced to disk during recovery. If streaming replication - is disabled, or it has not yet started, the function returns NULL. + this will increase monotonically. But when streaming replication is + restarted this will back off to the replication starting position, + typically the beginning of the WAL file containing the current + replay location. If recovery has completed this will remain static at + the value of the last WAL record received and synced to disk during + recovery. If streaming replication is disabled, or if it has not yet + started, the function returns NULL. </entry> </row> <row> |