]> granicus.if.org Git - postgresql/commit
Correctly initialise shared recoveryLastRecPtr in recovery.
authorSimon Riggs <simon@2ndQuadrant.com>
Wed, 22 Feb 2012 13:55:04 +0000 (13:55 +0000)
committerSimon Riggs <simon@2ndQuadrant.com>
Wed, 22 Feb 2012 13:55:04 +0000 (13:55 +0000)
commit315cb2f9672e93f6b34726ce81c7e75a374aedd2
treec71f672cad39ddffdd86cc38d64fbd9d43d230c8
parente0eb63238a8ba66e685ac2308d1f597e15cb4216
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