Wrong Results from SP-GiST with Collations

Поиск
Список
Период
Сортировка
От Emre Hasegeli
Тема Wrong Results from SP-GiST with Collations
Дата
Msg-id CAE2gYzzb6K51VnTq5i5p52z+j9p2duEa-K1T3RrC_GQEynAKEg@mail.gmail.com
обсуждение исходный текст
Ответы Re: Wrong Results from SP-GiST with Collations  (Peter Geoghegan <pg@bowt.ie>)
Список pgsql-bugs
Please see:

> # create table t (a text collate "cs_CZ");
> CREATE TABLE
>
> # insert into t values ('c'), ('ch');
> INSERT 0 2
>
> # select * from t where a < 'd';
>  a
> ---
>  c
> (1 row)
>
> xx2_game=# create index on t using spgist (a);
> CREATE INDEX
>
> xx2_game=# set enable_seqscan = 0;
> SET
>
> xx2_game=# select * from t where a < 'd';
>  a
> ----
>  c
>  ch
> (2 rows)

I assume we don't have any option than removing support for comparison
operators with collations just like btree.

The bug may apply to the other access methods.


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: BUG #15149: Invalid cache id = 42
Следующее
От: Peter Geoghegan
Дата:
Сообщение: Re: Wrong Results from SP-GiST with Collations