Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WO5x8-0008Lw-UC for pgsql-bugs@arkaria.postgresql.org; Thu, 13 Mar 2014 13:45:43 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WO5x8-00010M-Eg for pgsql-bugs@arkaria.postgresql.org; Thu, 13 Mar 2014 13:45:42 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WO5x7-00010G-Pi for pgsql-bugs@postgresql.org; Thu, 13 Mar 2014 13:45:41 +0000 Received: from smtp-outbound-2.vmware.com ([208.91.2.13]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WO5x3-0001b1-5D for pgsql-bugs@postgresql.org; Thu, 13 Mar 2014 13:45:40 +0000 Received: from sc9-mailhost1.vmware.com (sc9-mailhost1.vmware.com [10.113.161.71]) by smtp-outbound-2.vmware.com (Postfix) with ESMTP id 2D1B628378; Thu, 13 Mar 2014 06:45:33 -0700 (PDT) Received: from zcs-prod-ext-mta-2.vmware.com (zcs-prod-ext-mta-2.vmware.com [10.113.62.224]) by sc9-mailhost1.vmware.com (Postfix) with ESMTP id 258B51832D; Thu, 13 Mar 2014 06:45:33 -0700 (PDT) Received: from zcs-prod-ext-mta-2.vmware.com (localhost.localdomain [127.0.0.1]) by zcs-prod-ext-mta-2.vmware.com (Postfix) with ESMTP id B987AC0035; Thu, 13 Mar 2014 06:45:29 -0700 (PDT) Received: from [192.168.1.90] (zimbra-prod-ext-proxy-vip.vmware.com [10.113.63.87]) by zcs-prod-ext-mta-2.vmware.com (Postfix) with ESMTPSA; Thu, 13 Mar 2014 06:45:28 -0700 (PDT) Message-ID: <5321B67A.1060507@vmware.com> Date: Thu, 13 Mar 2014 15:45:30 +0200 From: Heikki Linnakangas Organization: VMware User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131103 Icedove/17.0.10 MIME-Version: 1.0 To: Marko Tiikkaja CC: pgsql-bugs@postgresql.org Subject: Re: BUG #9557: Row not visible after receiving notification References: <20140313093922.335.80556@wrigleys.postgresql.org> <5321AAAF.4020207@joh.to> <5321B217.3080905@joh.to> In-Reply-To: <5321B217.3080905@joh.to> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -6.9 (------) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org 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