Re: Composite GiST indexes?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Composite GiST indexes?
Дата
Msg-id 23576.1073287863@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Composite GiST indexes?  (Christopher Kings-Lynne <chriskl@familyhealth.com.au>)
Список pgsql-hackers
Christopher Kings-Lynne <chriskl@familyhealth.com.au> writes:
> OK, this is what I'm trying (7.3.4):
> create index blah on forums_posts using gist(ftiidx, datetime);
> ERROR:  data type timestamp with time zone has no default operator class 
> for access method "gist"

That's got nothing to do with it being a two-column index --- it's that
GiST doesn't know what to do with a timestamptz, in any column.

I see that there is support for timestamp without time zone in
contrib/btree_gist --- probably it would be a simple matter to extend
that to timestamp with time zone.  But it's not there today (much less
in 7.3 ;-))
        regards, tom lane


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

Предыдущее
От: Christopher Kings-Lynne
Дата:
Сообщение: Re: Composite GiST indexes?
Следующее
От: ivan
Дата:
Сообщение: operators +/- with oids