Re: [COMMITTERS] 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: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [COMMITTERS] pgsql: Correctly initialise shared recoveryLastRecPtr in recovery.
Date: 2012-02-13 02:17:51
Message-ID: CAHGQGwHOh7Ut5fAoLHKcbkNnZsPwtVBUiCnrqz=p4rddijOf_w@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

On Mon, Jan 16, 2012 at 10:44 AM, Fujii Masao <masao(dot)fujii(at)gmail(dot)com> wrote:
> 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.

http://archives.postgresql.org/message-id/14373.1328890248%40sss.pgh.pa.us

Minor version updates are scheduled to be released at the end of this month.
Before that, can you backport this commit to 9.1 and 9.0?

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 Heikki Linnakangas 2012-02-13 07:20:10 pgsql: Silence warning about deprecated assignment to $[ in check_keywo
Previous Message Tom Lane 2012-02-11 23:07:35 pgsql: Fix I/O-conversion-related memory leaks in plpgsql.

Browse pgsql-hackers by date

  From Date Subject
Next Message Greg Smith 2012-02-13 02:19:53 Re: Review of pg_archivecleanup -x option patch
Previous Message Greg Smith 2012-02-13 02:04:28 Re: random_page_cost vs seq_page_cost