Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 0E45D1337B5E for ; Mon, 1 Nov 2010 11:27:21 -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 96867-05 for ; Mon, 1 Nov 2010 14:27:14 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id AB5FB1337B3E for ; Mon, 1 Nov 2010 11:27:13 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id oA1EQgDQ001762; Mon, 1 Nov 2010 10:26:43 -0400 (EDT) To: "spche" cc: pgsql-bugs@postgresql.org Subject: Re: BUG #5738: btree index search bug In-reply-to: <201011011018.oA1AI2JM075862@wwwmaster.postgresql.org> References: <201011011018.oA1AI2JM075862@wwwmaster.postgresql.org> Comments: In-reply-to "spche" message dated "Mon, 01 Nov 2010 10:18:02 +0000" Date: Mon, 01 Nov 2010 10:26:42 -0400 Message-ID: <1761.1288621602@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-5 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201011/6 X-Sequence-Number: 28586 "spche" writes: > Description: btree index search bug I see no bug here. The cursor is opened at a time when there is one row with a=3, so it can find only that one row because of its snapshot. regards, tom lane