Correctly initialise shared recoveryLastRecPtr in recovery.

Simon Riggs <simon@2ndQuadrant.com>

Commit: 11c730f4122ee8677b1cfdd5647faeaabc471af8
Author: Simon Riggs <simon@2ndQuadrant.com>
Date: 2012-02-22T13:53:48Z
Releases: 9.1.3
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

Files

PathChange+/−
src/backend/access/transam/xlog.c modified +1 −1