Re: Composite GiST indexes?

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

>>Is it possible to make a composite GiST index? I want to create an
>>index on a txtidx and a timestamp column - is that at all possible?

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"
You must specify an operator class for the index or define a
default operator class for the data type

I guess I can put an ops indicator in there, but I have no idea what to
try using...

Chris

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2004-01-05 07:31:03 Re: Composite GiST indexes?
Previous Message Tom Lane 2004-01-05 06:51:55 Re: Composite GiST indexes?