Re: First version of multi-key index support for GiST - Mailing list pgsql-hackers

From Oleg Bartunov
Subject Re: First version of multi-key index support for GiST
Date
Msg-id Pine.GSO.4.33.0106011217520.12658-100000@ra.sai.msu.su
Whole thread Raw
In response to Re: First version of multi-key index support for GiST  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Thu, 31 May 2001, Tom Lane wrote:

>
> they should have been using "Datum".  This doesn't completely free GIST
> from datatype assumptions: it still assumes that all datatypes it deals
> with will be pass-by-reference.  But it's a step forward.  This means

I'm afraid this problem is connected with the problem of index_formtuple -
all keys (even btree_ops) are greater than 4 bytes, so it's impossible
to pass them by value. They should be pass-by-reference.
So, probably functions gistindex and gistbuild should be modified for
translation from pass-by-value to pass-by-reference. Your comments ?

>
>             regards, tom lane
>
Regards,    Oleg
_____________________________________________________________
Oleg Bartunov, sci.researcher, hostmaster of AstroNet,
Sternberg Astronomical Institute, Moscow University (Russia)
Internet: oleg@sai.msu.su, http://www.sai.msu.su/~megera/
phone: +007(095)939-16-83, +007(095)939-23-83



pgsql-hackers by date:

Previous
From: Oleg Bartunov
Date:
Subject: Re: New version of contrib-intarray
Next
From: Michael Samuel
Date:
Subject: Re: Re: Support for %TYPE in CREATE FUNCTION