Re: Not using index on VERY simple query

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Not using index on VERY simple query
Дата
Msg-id Pine.LNX.4.30.0110090055530.677-100000@peter.localdomain
обсуждение исходный текст
Ответ на Re: Not using index on VERY simple query  ("Jeffrey W. Baker" <jwbaker@acm.org>)
Список 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 по дате отправления:

Предыдущее
От: "Jeffrey W. Baker"
Дата:
Сообщение: Re: Not using index on VERY simple query
Следующее
От: "Seung-won Hwang"
Дата:
Сообщение: [Q] The generality of extended function (in C)