Re: Not using index on VERY simple query

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: "Jeffrey W(dot) Baker" <jwbaker(at)acm(dot)org>
Cc: <pgsql-general(at)postgresql(dot)org>
Subject: Re: Not using index on VERY simple query
Date: 2001-10-08 23:24:51
Message-ID: Pine.LNX.4.30.0110090055530.677-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)gmx(dot)net http://funkturm.homeip.net/~peter

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Mike Judkins 2001-10-09 02:31:36 kinda newbie - ish question
Previous Message Jeffrey W. Baker 2001-10-08 21:08:03 Re: Not using index on VERY simple query