Re: pgsql: Correctly initialise shared recoveryLastRecPtr in recovery.

From: Fujii Masao <masao(dot)fujii(at)gmail(dot)com>
To: Simon Riggs <simon(at)2ndquadrant(dot)com>
Cc: pgsql-committers(at)postgresql(dot)org
Subject: Re: pgsql: Correctly initialise shared recoveryLastRecPtr in recovery.
Date: 2012-01-16 01:44:14
Message-ID: CAHGQGwHchuKzAUu2OKy1asRTV5_oDCFvnf4OLeJ9mgvGTs1NEg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

On Fri, Jan 13, 2012 at 10:05 PM, Simon Riggs <simon(at)2ndquadrant(dot)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

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2012-01-16 14:53:13 pgsql: Prevent adding relations to a concurrently dropped schema.
Previous Message Andrew Dunstan 2012-01-15 21:21:53 Re: [COMMITTERS] pgsql: Fix breakage from earlier plperl fix.

Browse pgsql-hackers by date

  From Date Subject
Next Message Simon Riggs 2012-01-16 01:52:35 Re: archive_keepalive_command
Previous Message Greg Smith 2012-01-16 01:03:16 Re: pgstat documentation tables