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 06:51:55
Message-ID: 22698.1073285515@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:
> 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?

Yeah. If you have a problem with that, it's grounds for a bug report.
Note though that GiST can't handle entries with NULL in the first
column, so it's best to put a NOT NULL column first if possible.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Christopher Kings-Lynne 2004-01-05 07:28:15 Re: Composite GiST indexes?
Previous Message Christopher Kings-Lynne 2004-01-05 06:42:05 Composite GiST indexes?