Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WO5ew-0007Ve-UW for pgsql-bugs@arkaria.postgresql.org; Thu, 13 Mar 2014 13:26:55 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WO5ew-0001fv-Dc for pgsql-bugs@arkaria.postgresql.org; Thu, 13 Mar 2014 13:26:54 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WO5ev-0001ef-8w for pgsql-bugs@postgresql.org; Thu, 13 Mar 2014 13:26:53 +0000 Received: from mail-la0-f44.google.com ([209.85.215.44]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WO5es-0000hR-Ns for pgsql-bugs@postgresql.org; Thu, 13 Mar 2014 13:26:52 +0000 Received: by mail-la0-f44.google.com with SMTP id hr13so698436lab.3 for ; Thu, 13 Mar 2014 06:26:49 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=VOogq5e4ZrGxBVG20FVLxJPM2846nQvNbtgjFUM2/QU=; b=MUpyhDNhcZen9kmKJVACaoeFb1lCxX40IXfPygnDAWfVBXiIQNDIsFjoxb68jd01iZ McxcFYpDfjpJ10ei/93Y3g/UbeIMiUzsk/ljB1qT4v9G5eMqEA9WoNwVVAl80aswWrwk 8r3Eu7nvPaLFVTY5EOeMtPs6Bz0Q5okyZvrjVr7XrxG2tr2imxlti6H9jHZU+D9X9/9p Ccon08DST00Ex71J2p4Cc+up4LMT07WNc5tzUyTw0HUDgFRz+TWRTg/F/7YsWkx5EVYw b0TMR88a6mFJeUjqiWQt2FEJgele6bwwcqBbozOb7u0pV0YwuXENjv3XTJSQUeeiXr8r cSXw== X-Gm-Message-State: ALoCoQkrQNat//MKJZoiDcDbSYrSunFzLi5ObR4gN+VIP9KbyxstTxN1ExU4UZ56iYa35vTb5grH X-Received: by 10.152.26.66 with SMTP id j2mr1245850lag.25.1394717208997; Thu, 13 Mar 2014 06:26:48 -0700 (PDT) Received: from Markos-MacBook-Pro.local ([46.246.117.202]) by mx.google.com with ESMTPSA id jt7sm2391785lbc.15.2014.03.13.06.26.47 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 13 Mar 2014 06:26:47 -0700 (PDT) Message-ID: <5321B217.3080905@joh.to> Date: Thu, 13 Mar 2014 14:26:47 +0100 From: Marko Tiikkaja User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 To: 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> In-Reply-To: <5321AAAF.4020207@joh.to> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -2.6 (--) 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 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. 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