]> granicus.if.org Git - postgresql/commit
Correctly initialise shared recoveryLastRecPtr in recovery.
authorSimon Riggs <simon@2ndQuadrant.com>
Wed, 22 Feb 2012 13:53:48 +0000 (13:53 +0000)
committerSimon Riggs <simon@2ndQuadrant.com>
Wed, 22 Feb 2012 13:53:48 +0000 (13:53 +0000)
commit11c730f4122ee8677b1cfdd5647faeaabc471af8
tree363c1717790500e44863d04b6ab60168afcb4f08
parent6182e01f18f71c48915e2aebb20362294de6e677
Correctly initialise shared recoveryLastRecPtr in recovery.
Previously we used ReadRecPtr rather than EndRecPtr, which was
not a serious error but caused pg_stat_replication to report
incorrect replay_location until at least one WAL record is replayed.

Fujii Masao
src/backend/access/transam/xlog.c