Re: Not using index on VERY simple query - Mailing list pgsql-general

From Peter Eisentraut
Subject Re: Not using index on VERY simple query
Date
Msg-id Pine.LNX.4.30.0110090055530.677-100000@peter.localdomain
Whole thread Raw
In response to Re: Not using index on VERY simple query  ("Jeffrey W. Baker" <jwbaker@acm.org>)
List pgsql-general
Jeffrey W. Baker writes:

> On Mon, 8 Oct 2001, Jeffrey W. Baker wrote:
>
> > Unfortunately for me, pg chooses NOT to EVER use the indexes for id and
> > object:
>
> Crass reply to self:
>
> Looks like quoting the bigint values makes pg use the index.  Definitely
> not intuitive.  Does this work without the quotes on actual 64-bit
> platforms?

No, this is a deficiency in PostgreSQL.  See the archives.

--
Peter Eisentraut   peter_e@gmx.net   http://funkturm.homeip.net/~peter


pgsql-general by date:

Previous
From: "Jeffrey W. Baker"
Date:
Subject: Re: Not using index on VERY simple query
Next
From: "Seung-won Hwang"
Date:
Subject: [Q] The generality of extended function (in C)