Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ai9oB-0008DH-CG for pgsql-bugs@arkaria.postgresql.org; Tue, 22 Mar 2016 00:04:27 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1ai9oA-0002H9-Ug for pgsql-bugs@arkaria.postgresql.org; Tue, 22 Mar 2016 00:04:26 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1ai9nX-0001a7-PP for pgsql-bugs@postgresql.org; Tue, 22 Mar 2016 00:03:47 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1ai9nU-0007UM-00 for pgsql-bugs@postgresql.org; Tue, 22 Mar 2016 00:03:47 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id u2M03fYD009689; Mon, 21 Mar 2016 20:03:41 -0400 From: Tom Lane To: Marc-Olaf Jaschke cc: Peter Geoghegan , pgsql-bugs@postgresql.org Subject: Re: Missing rows with index scan when collation is not "C" (PostgreSQL 9.5) In-reply-to: <111D0E27-A8F3-4A84-A4E0-B0FB703863DF@s24.com> References: <111D0E27-A8F3-4A84-A4E0-B0FB703863DF@s24.com> Comments: In-reply-to Marc-Olaf Jaschke message dated "Mon, 21 Mar 2016 21:40:37 +0100" Date: Mon, 21 Mar 2016 20:03:41 -0400 Message-ID: <9688.1458605021@sss.pgh.pa.us> X-Pg-Spam-Score: -1.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 Marc-Olaf Jaschke writes: > PostgreSQL 9.5 ignores rows with the following test case: I can reproduce this in 9.5 and HEAD on RHEL6, but 9.4 works as expected. I presume that that points the finger at the abbreviated-keys work. BTW, what I'm seeing in 9.5/HEAD is that all three comparison senses fail: u8=# set enable_seqscan TO 0; SET u8=# select * from test where t < 'eai'; t --- (0 rows) u8=# select * from test where t = 'eai'; t --- (0 rows) u8=# select * from test where t > 'eai'; t --- (0 rows) regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs