Re: int8, primary key, seq scan

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: int8, primary key, seq scan
Дата
Msg-id 14604.1092964434@sss.pgh.pa.us
обсуждение исходный текст
Ответ на int8, primary key, seq scan  (Jeff Amiel <jamiel@istreamimaging.com>)
Список pgsql-general
Jeff Amiel <jamiel@istreamimaging.com> writes:
> I declared the compared value (draftid) as an int8, why should I have to
> cast it as such in the query to cause the optimizer to use the primary key?

Seems like it should work (and it does work for me, in a quick test with
7.4.5).  Could we see the full text of the problematic function?

            regards, tom lane

В списке pgsql-general по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: unserializable transaction?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: 8.0 release schedule?