Lists: | pgsql-committerspgsql-hackers |
---|
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-01-13 13:05:47 |
Message-ID: | E1RlgpH-0003R0-JJ@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-committers pgsql-hackers |
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
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/5530623d0326e96e40b8d54275da256ca0fb6856
Modified Files
--------------
src/backend/access/transam/xlog.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
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 |
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
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 |
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
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-21 16:46:51 |
Message-ID: | CAHGQGwH4oq3SWw0eEShXYfSeg_9CaaCQJ+g3djO_aqEWY8iJFA@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-committers pgsql-hackers |
On Mon, Feb 13, 2012 at 11:17 AM, Fujii Masao <masao(dot)fujii(at)gmail(dot)com> wrote:
> 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?
[Reminder]
New minor version updates are about to be released in the next Monday.
Could you backport this commit to 9.1 and 9.0?
Regards,
--
Fujii Masao
NIPPON TELEGRAPH AND TELEPHONE CORPORATION
NTT Open Source Software Center
From: | Simon Riggs <simon(at)2ndQuadrant(dot)com> |
---|---|
To: | Fujii Masao <masao(dot)fujii(at)gmail(dot)com> |
Cc: | PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: [COMMITTERS] pgsql: Correctly initialise shared recoveryLastRecPtr in recovery. |
Date: | 2012-02-21 17:16:35 |
Message-ID: | CA+U5nML+Nve7xHcuFHiVx3XF-X8Sfr47Fz_o0VJT6xRL_ZjTvg@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-committers pgsql-hackers |
On Tue, Feb 21, 2012 at 4:46 PM, Fujii Masao <masao(dot)fujii(at)gmail(dot)com> wrote:
> [Reminder]
> New minor version updates are about to be released in the next Monday.
> Could you backport this commit to 9.1 and 9.0?
Sure
--
Simon Riggs http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services
From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Fujii Masao <masao(dot)fujii(at)gmail(dot)com> |
Cc: | Simon Riggs <simon(at)2ndquadrant(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Re: [COMMITTERS] pgsql: Correctly initialise shared recoveryLastRecPtr in recovery. |
Date: | 2012-02-21 20:51:07 |
Message-ID: | 25618.1329857467@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-committers pgsql-hackers |
Fujii Masao <masao(dot)fujii(at)gmail(dot)com> writes:
> [Reminder]
> New minor version updates are about to be released in the next Monday.
> Could you backport this commit to 9.1 and 9.0?
Note that Monday is not the deadline to get patches in; it's more like
tomorrow, if you'd like to see a full buildfarm cycle on your patch
before we wrap tarballs.
regards, tom lane