Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aiCSi-00063Z-BS for pgsql-bugs@arkaria.postgresql.org; Tue, 22 Mar 2016 02:54:28 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1aiCSh-0007kt-7c for pgsql-bugs@arkaria.postgresql.org; Tue, 22 Mar 2016 02:54:27 +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 1aiCSf-0007ke-P6 for pgsql-bugs@postgresql.org; Tue, 22 Mar 2016 02:54:25 +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 1aiCSc-0002hF-Jg for pgsql-bugs@postgresql.org; Tue, 22 Mar 2016 02:54:25 +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 u2M2sHZ4016215; Mon, 21 Mar 2016 22:54:17 -0400 From: Tom Lane To: Peter Geoghegan cc: Robert Haas , Marc-Olaf Jaschke , Postgres-Bugs Subject: Re: Missing rows with index scan when collation is not "C" (PostgreSQL 9.5) In-reply-to: References: <111D0E27-A8F3-4A84-A4E0-B0FB703863DF@s24.com> <9688.1458605021@sss.pgh.pa.us> Comments: In-reply-to Peter Geoghegan message dated "Mon, 21 Mar 2016 18:15:42 -0700" Date: Mon, 21 Mar 2016 22:54:17 -0400 Message-ID: <16214.1458615257@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 Peter Geoghegan writes: > On Mon, Mar 21, 2016 at 5:44 PM, Peter Geoghegan wrote: >> On Mon, Mar 21, 2016 at 5:26 PM, Robert Haas wrote: >>>> If that is the case, I'd argue that's a glibc problem, not our >>>> problem. Of course, we could provide an option to disable abbreviated >>>> keys for the benefit of people who need to work around buggy libc >>>> implementations. FWIW, I do not think you can dismiss it as "not our bug" if a large fraction of existing glibc installations share the issue. It might be a glibc bug, but we'll have to find a workaround. > Maybe we can write a test-case that lets check_strxfrm_bug() detect > this issue, which would be ideal. But, again, I need to see what's > going on with strxfrm() on affected systems before I can do anything. Happy to test if you can provide a test case. 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