aboutsummaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2011-03-01 20:46:57 +0200
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2011-03-01 20:54:35 +0200
commit6eba5a7c57d1d61f46b6966026bf7bc07f8e087c (patch)
treead88d9f8c60462809b00738f30dbf43849095b23 /doc/src
parent47ad79122bc099c1f0ea8a7ae413fcd8d45e26a6 (diff)
downloadpostgresql-6eba5a7c57d1d61f46b6966026bf7bc07f8e087c.tar.gz
postgresql-6eba5a7c57d1d61f46b6966026bf7bc07f8e087c.zip
Change pg_last_xlog_receive_location() not to move backwards. That makes
it a lot more useful for determining which standby is most up-to-date, for example. There was long discussions on whether overwriting existing existing WAL makes sense to begin with, and whether we should do some more extensive variable renaming, but this change nevertheless seems quite uncontroversial. Fujii Masao, reviewed by Jeff Janes, Robert Haas, Stephen Frost.
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/func.sgml6
1 files changed, 2 insertions, 4 deletions
diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml
index 679f856b9ce..5ccece26001 100644
--- a/doc/src/sgml/func.sgml
+++ b/doc/src/sgml/func.sgml
@@ -14179,10 +14179,8 @@ 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. 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
+ this will increase monotonically. 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.