Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 9C99AB5DC38 for ; Tue, 30 Aug 2011 11:24:51 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 11695-01 for ; Tue, 30 Aug 2011 14:24:40 +0000 (UTC) X-Greylist: delayed 00:07:44.646833 by SQLgrey-1.7.6 Received: from mail-ew0-f46.google.com (mail-ew0-f46.google.com [209.85.215.46]) by mail.postgresql.org (Postfix) with ESMTP id CE508B5DC33 for ; Tue, 30 Aug 2011 11:24:39 -0300 (ADT) Received: by ewy4 with SMTP id 4so2830806ewy.19 for ; Tue, 30 Aug 2011 07:24:39 -0700 (PDT) Received: by 10.14.4.76 with SMTP id 52mr2002963eei.83.1314713813094; Tue, 30 Aug 2011 07:16:53 -0700 (PDT) Received: from [10.1.1.8] (124-169-102-162.dyn.iinet.net.au [124.169.102.162]) by mx.google.com with ESMTPS id e43sm2420653eea.12.2011.08.30.07.16.49 (version=SSLv3 cipher=OTHER); Tue, 30 Aug 2011 07:16:51 -0700 (PDT) Message-ID: <4E5CF0C1.80604@ringerc.id.au> Date: Tue, 30 Aug 2011 22:16:33 +0800 From: Craig Ringer User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:6.0) Gecko/20110812 Thunderbird/6.0 MIME-Version: 1.0 To: pgsql-bugs@postgresql.org, jan@snelders.net Subject: Re: Postgresql ACID bug? References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-5 required=5 tests=BAYES_00=-1.9 X-Spam-Level: X-Archive-Number: 201108/188 X-Sequence-Number: 31000 On 30/08/2011 9:18 PM, Jan Snelders wrote: > The program now selects and prints the records from the SELECT > transaction. (0 records printed, we expected one record since we are > still within the SELECT transaction which started while this record was > still available) This isn't a bug. You're using READ COMMITTED mode, and you appear to expect SERIALIZABLE mode. See: http://www.postgresql.org/docs/current/interactive/transaction-iso.html -- Craig Ringer