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: (view raw, whole thread or download thread mbox)
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

Oleg Bartunov, sci.researcher, hostmaster of AstroNet,
Sternberg Astronomical Institute, Moscow University (Russia)
Internet: oleg(at)sai(dot)msu(dot)su,
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-2017 The PostgreSQL Global Development Group