From: Tom Lane <tgl@sss.pgh.pa.us>
To: Thom Brown <thom@linux.com>
Cc: pgsql-performance <pgsql-performance@postgresql.org>
Subject: Re: Partial index slower than regular index
Date: Thu, 07 Apr 2011 02:37:29 -0400
Message-ID: <6664.1302158249@sss.pgh.pa.us> (raw)
In-Reply-To: <BANLkTinTpO1evkZNN1NO1Hez=_x4iHZzxQ@mail.gmail.com>
References: <BANLkTimFZjYve4GDOXQJ6VjRO1pOQEwp4w@mail.gmail.com>
<4331.1302065062@sss.pgh.pa.us>
<BANLkTinTpO1evkZNN1NO1Hez=_x4iHZzxQ@mail.gmail.com>
Thom Brown <thom@linux.com> writes:
> On 6 April 2011 05:44, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> It looks like the index predicate expression isn't getting the right
>> collation assigned, so predtest.c decides the query doesn't imply the
>> index's predicate. Too tired to look into exactly why right now, but
>> it's clearly bound up in all the recent collation changes.
> Testing it again with very explicit collations, it still has issues:
Yeah, any sort of collation-sensitive operator in an index WHERE clause
was just plain broken. Fixed now.
regards, tom lane
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 using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: tgl@sss.pgh.pa.us, thom@linux.com
Subject: Re: Partial index slower than regular index
In-Reply-To: <6664.1302158249@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