Re: BUG: bigint and indexes ?

Поиск
Список
Период
Сортировка
От Stephan Szabo
Тема Re: BUG: bigint and indexes ?
Дата
Msg-id 20020304125950.R80308-100000@megazone23.bigpanda.com
обсуждение исходный текст
Ответ на BUG: bigint and indexes ?  ("Victor Krasinsky" <victor@psoft.lviv.ua>)
Список pgsql-bugs
On Fri, 1 Mar 2002, Victor Krasinsky wrote:

> Is it a known bug if optimizer, that Postgres can't use indexes created on a int8 (bigint) ?
> This problem exists in 7.1.3 and even in 7.2.

You need to explicitly cast the constant that you're comparing to
bigint (1::bigint or CAST(1 as bigint)).

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