From: Marko Tiikkaja <marko@joh.to>
To: Heikki Linnakangas <hlinnakangas@vmware.com>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #9557: Row not visible after receiving notification
Date: Thu, 13 Mar 2014 14:55:44 +0100
Message-ID: <5321B8E0.9040601@joh.to> (raw)
In-Reply-To: <5321B67A.1060507@vmware.com>
References: <20140313093922.335.80556@wrigleys.postgresql.org>
<5321AAAF.4020207@joh.to>
<5321B217.3080905@joh.to>
<5321B67A.1060507@vmware.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
On 3/13/14 2:45 PM, Heikki Linnakangas wrote:
> On 03/13/2014 03:26 PM, Marko Tiikkaja wrote:
>> On 3/13/14 1:55 PM, I wrote:
>>> This would explain it, as I don't see the notification code checking
>>> whether the transaction is still in PGPROC, just calling
>>> TransactionIdDidCommit().
>>
>> And as predicted, adding a call to TransactionIdIsInProgress() in
>> asyncQueueProcessPageEntries makes the problem go away.
>
> Good catch! Want to write that into a patch?
I can do it if it helps, but I figured that it's a one-line change,
perhaps four with a nice comment..
Regards,
Marko Tiikkaja
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: marko@joh.to, hlinnakangas@vmware.com
Subject: Re: BUG #9557: Row not visible after receiving notification
In-Reply-To: <5321B8E0.9040601@joh.to>
References: <20140313093922.335.80556@wrigleys.postgresql.org> <5321AAAF.4020207@joh.to> <5321B217.3080905@joh.to> <5321B67A.1060507@vmware.com> <5321B8E0.9040601@joh.to>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox