pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Heikki Linnakangas <hlinnakangas@vmware.com>
To: Marko Tiikkaja <marko@joh.to>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #9557: Row not visible after receiving notification
Date: Thu, 13 Mar 2014 15:45:30 +0200
Message-ID: <5321B67A.1060507@vmware.com> (raw)
In-Reply-To: <5321B217.3080905@joh.to>
References: <20140313093922.335.80556@wrigleys.postgresql.org>
	<5321AAAF.4020207@joh.to>
	<5321B217.3080905@joh.to>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

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?

- Heikki


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (9+ messages)  latest in thread

Message-ID: <5321B67A.1060507@vmware.com>
Permalink:  ../5321B67A.1060507@vmware.com/
Also on:    postgresql.org/message-id/5321B67A.1060507@vmware.com

 · 

reply

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: hlinnakangas@vmware.com, marko@joh.to
  Subject: Re: BUG #9557: Row not visible after receiving notification
  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>

* 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