Skip site navigation (1) Skip section navigation (2)

Re: First version of multi-key index support for GiST

From: Oleg Bartunov <oleg(at)sai(dot)msu(dot)su>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: First version of multi-key index support for GiST
Date: 2001-06-01 09:41:53
Message-ID: Pine.GSO.4.33.0106011217520.12658-100000@ra.sai.msu.su (view raw or flat)
Thread:
Lists: 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(at)sai(dot)msu(dot)su, http://www.sai.msu.su/~megera/
phone: +007(095)939-16-83, +007(095)939-23-83


In response to

pgsql-hackers by date

Next:From: Michael SamuelDate: 2001-06-01 13:11:13
Subject: Re: Re: Support for %TYPE in CREATE FUNCTION
Previous:From: Oleg BartunovDate: 2001-06-01 09:17:28
Subject: Re: New version of contrib-intarray

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group