Re: Not Picking Index

From: "Steinar H(dot) Gunderson" <sgunderson(at)bigfoot(dot)com>
To: pgsql-performance(at)postgresql(dot)org
Subject: Re: Not Picking Index
Date: 2007-02-16 18:32:04
Message-ID: 20070216183204.GA7200@uio.no
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

On Fri, Feb 16, 2007 at 01:27:46PM -0500, Brad Nicholson wrote:
> If the indexed field is an intger, add 0 to it.

Won't that also invalidate the statistics?

/* Steinar */
--
Homepage: http://www.sesse.net/

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message George Pavlov 2007-02-16 18:33:22 Re: Not Picking Index
Previous Message Guillaume Smet 2007-02-16 18:31:45 Re: Proximity query with GIST and row estimation