Re: Composite GiST indexes? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Composite GiST indexes?
Date
Msg-id 23576.1073287863@sss.pgh.pa.us
Whole thread Raw
In response to Re: Composite GiST indexes?  (Christopher Kings-Lynne <chriskl@familyhealth.com.au>)
List 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 by date:

Previous
From: Christopher Kings-Lynne
Date:
Subject: Re: Composite GiST indexes?
Next
From: ivan
Date:
Subject: operators +/- with oids