Thread: pgsql: Correctly initialise shared recoveryLastRecPtr in recovery.

pgsql: Correctly initialise shared recoveryLastRecPtr in recovery.

From
Simon Riggs
Date:
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

Branch
------
REL9_0_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/315cb2f9672e93f6b34726ce81c7e75a374aedd2

Modified Files
--------------
src/backend/access/transam/xlog.c |    2 +-
1 files changed, 1 insertions(+), 1 deletions(-)