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

From Fujii Masao
Subject Re: pgsql: Correctly initialise shared recoveryLastRecPtr in recovery.
Date
Msg-id CAHGQGwHchuKzAUu2OKy1asRTV5_oDCFvnf4OLeJ9mgvGTs1NEg@mail.gmail.com
Whole thread Raw
In response to pgsql: Correctly initialise shared recoveryLastRecPtr in recovery.  (Simon Riggs <simon@2ndQuadrant.com>)
List pgsql-committers
On Fri, Jan 13, 2012 at 10:05 PM, Simon Riggs <simon@2ndquadrant.com> wrote:
> 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.

Thanks for the commit!

This needs to be backported to 9.1 and 9.0 because they also have
the same problem.

Regards,

--
Fujii Masao
NIPPON TELEGRAPH AND TELEPHONE CORPORATION
NTT Open Source Software Center

pgsql-committers by date:

Previous
From: Andrew Dunstan
Date:
Subject: pgsql: Improve efficiency of recent changes to plperl's sv2cstr().
Next
From: Robert Haas
Date:
Subject: pgsql: Prevent adding relations to a concurrently dropped schema.