pgsql: Correctly initialise shared recoveryLastRecPtr in recovery. - Mailing list pgsql-committers

From Simon Riggs
Subject pgsql: Correctly initialise shared recoveryLastRecPtr in recovery.
Date
Msg-id E1S0CeV-0004R5-NE@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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_1_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/11c730f4122ee8677b1cfdd5647faeaabc471af8

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


pgsql-committers by date:

Previous
From: Magnus Hagander
Date:
Subject: Re: pgsql: Have pg_receivexlog always send an invalid log position in statu
Next
From: Simon Riggs
Date:
Subject: pgsql: Correctly initialise shared recoveryLastRecPtr in recovery.