pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Marc-Olaf Jaschke <marc-olaf.jaschke@s24.com>
Cc: Peter Geoghegan <pg@heroku.com>
Cc: pgsql-bugs@postgresql.org
Subject: Re: Missing rows with index scan when collation is not "C" (PostgreSQL 9.5)
Date: Mon, 21 Mar 2016 20:03:41 -0400
Message-ID: <9688.1458605021@sss.pgh.pa.us> (raw)
In-Reply-To: <111D0E27-A8F3-4A84-A4E0-B0FB703863DF@s24.com>
References: <111D0E27-A8F3-4A84-A4E0-B0FB703863DF@s24.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

Marc-Olaf Jaschke <marc-olaf.jaschke@s24.com> 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



view thread (79+ messages)  latest in thread

Message-ID: <9688.1458605021@sss.pgh.pa.us>
Permalink:  ../9688.1458605021@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/9688.1458605021@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, marc-olaf.jaschke@s24.com, pg@heroku.com
  Subject: Re: Missing rows with index scan when collation is not "C" (PostgreSQL 9.5)
  In-Reply-To: <9688.1458605021@sss.pgh.pa.us>
  References: <111D0E27-A8F3-4A84-A4E0-B0FB703863DF@s24.com> <9688.1458605021@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox