Re: varchar does not work too well with IS NOT NULL partial indexes.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Gregory Stark <stark(at)enterprisedb(dot)com>
Cc: "Dawid Kuroczko" <qnex42(at)gmail(dot)com>, "Postgres General" <pgsql-general(at)postgresql(dot)org>
Subject: Re: varchar does not work too well with IS NOT NULL partial indexes.
Date: 2007-07-24 16:21:09
Message-ID: 10872.1185294069@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Gregory Stark <stark(at)enterprisedb(dot)com> writes:
> Running it myself I do see the same behaviour in 8.3. I'm not sure whether
> this is something we expect to work or not though.

It looks like it might be relatively easy to fix, but I haven't dug down
to find exactly where things go wrong. Presumably there's something in
predtest.c that's not quite smart enough.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Csaba Nagy 2007-07-24 16:25:57 Re: Delete/update with limit
Previous Message Tom Lane 2007-07-24 16:19:25 Re: Delete/update with limit