pgsql: Correctly initialise shared recoveryLastRecPtr in recovery.

From: Simon Riggs <simon(at)2ndQuadrant(dot)com>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Correctly initialise shared recoveryLastRecPtr in recovery.
Date: 2012-02-22 13:54:39
Message-ID: E1S0CeV-0004R5-NE@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Simon Riggs 2012-02-22 13:55:26 pgsql: Correctly initialise shared recoveryLastRecPtr in recovery.
Previous Message Magnus Hagander 2012-02-22 13:51:28 Re: pgsql: Have pg_receivexlog always send an invalid log position in statu