Re: varchar does not work too well with IS NOT NULL partial indexes. - Mailing list pgsql-general

From Tom Lane
Subject Re: varchar does not work too well with IS NOT NULL partial indexes.
Date
Msg-id 12868.1185297789@sss.pgh.pa.us
Whole thread Raw
In response to varchar does not work too well with IS NOT NULL partial indexes.  ("Dawid Kuroczko" <qnex42@gmail.com>)
List pgsql-general
"Dawid Kuroczko" <qnex42@gmail.com> writes:
> Basically it looks like planner makes better use of
> WHERE ... IS NOT NULL indexes if either you explicitly
> put "text" as a column type or that you cast the column
> to ::text when making index.

I've applied a patch for this.

            regards, tom lane

pgsql-general by date:

Previous
From: Stephan Szabo
Date:
Subject: Re: Delete/update with limit
Next
From: Jim Nasby
Date:
Subject: Re: Best interval timeout and check interval for Slony