Re: Composite GiST indexes?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
Cc: Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Composite GiST indexes?
Date: 2004-01-05 07:31:03
Message-ID: 23576.1073287863@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message ivan 2004-01-05 08:17:37 operators +/- with oids
Previous Message Christopher Kings-Lynne 2004-01-05 07:28:15 Re: Composite GiST indexes?