Re: Multikey Index GISt

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Leticia" <lgomez(at)itba(dot)edu(dot)ar>
Cc: pgsql-interfaces(at)postgresql(dot)org
Subject: Re: Multikey Index GISt
Date: 2007-03-04 18:39:31
Message-ID: 22916.1173033571@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

"Leticia" <lgomez(at)itba(dot)edu(dot)ar> writes:
> If a use "create index anIndex on tablename using ( atr1 atr1_ops, atr2
> atr2_ops, atr3 atr3_ops) ",

> I will obtain three separated invocation of "compress" function (one for
> each XXX_ops). I need to receive them in only one invocation.

You can't. The fact that you want to means that you don't actually have
three independent operator classes there. Perhaps what you really need
is a functional index on some function of the three columns?

regards, tom lane

In response to

Browse pgsql-interfaces by date

  From Date Subject
Next Message Michael Fuhr 2007-03-04 19:17:18 Re: Retrieving timestamp data
Previous Message Nikolay Samokhvalov 2007-03-04 18:31:41 Re: postgresql and XML