Document that receive location can rewind if replication restarts.
authorRobert Haas
Thu, 17 Jun 2010 01:32:09 +0000 (01:32 +0000)
committerRobert Haas
Thu, 17 Jun 2010 01:32:09 +0000 (01:32 +0000)
Fujii Masao, with some further wordsmithing by me.

doc/src/sgml/func.sgml

index f48313592151439dd2826f7809e0309de2911fbd..3037aaf1a6f5de6eb478803445d9985edf44e08c 100644 (file)
@@ -1,4 +1,4 @@
-
+
 
  
   Functions and Operators
@@ -13282,10 +13282,13 @@ postgres=# SELECT * FROM pg_xlogfile_name_offset(pg_stop_backup());
        text
        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.