Re: [BUGS] BUG #14532: implict type case invalid in gin?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [BUGS] BUG #14532: implict type case invalid in gin?
Дата
Msg-id 16457.1486484767@sss.pgh.pa.us
обсуждение исходный текст
Ответ на [BUGS] BUG #14532: implict type case invalid in gin?  (digoal@126.com)
Список pgsql-bugs
digoal@126.com writes:
> postgres=# create table tbl(id int, t timestamp);
> CREATE TABLE
> postgres=# insert into tbl select 1,now() from generate_series(1,10000);
> INSERT 0 10000
> postgres=# create index idx_tbl_1 on tbl using gin (id,t);
> CREATE INDEX

Apparently you're using contrib/btree_gin, because in the core system
that would just fail.  btree_gin lacks any support for cross-type
operators, so it can't index "timestamp > date" comparisons.

            regards, tom lane


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [BUGS] BUG #14531: server process (PID 12714) was terminated by signal 11: Segmentation fault
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [BUGS] BUG #14524: Commands compare with nested subquery expressions fail with "should not reference subplan var"