Bug with indexing int4?

Поиск
Список
Период
Сортировка
От Yury Don
Тема Bug with indexing int4?
Дата
Msg-id 17606.000120@vpcit.ru
обсуждение исходный текст
Список pgsql-general
Hello All,

I have created the table

CREATE TABLE "tt" (
        "cc" int4);
COPY "tt" FROM stdin;
-2112563299
-2111287024
-2110307960
.....

2146589610
2146589611
2146589612
\.

About 30 000 records totally

Then I am doing the following:

mdb=> select cc from tt where cc = -2112563299;
         cc
-----------
-2112563299
(1 row)

mdb=> create index i_tt_cc on tt (cc);
CREATE
mdb=> select cc from tt where cc = -2112563299;
cc
(0 rows)

mdb=> drop index i_tt_cc;
DROP
mdb=> select cc from tt where cc = -2112563299;
         cc
-----------
-2112563299
(1 row)

Best regards,
 Yury  ICQ 11831432
 mailto:yura@vpcit.ru



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

Предыдущее
От: Eric van der Vlist
Дата:
Сообщение: Re: [GENERAL] apache logs to pgsql
Следующее
От: Yury Don
Дата:
Сообщение: Bug with indexing int4?