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.0105262050180.14271-100000@ra.sai.msu.su
Whole thread Raw
In response to Re: First version of multi-key index support for GiST  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-hackers
On Sat, 26 May 2001, Bruce Momjian wrote:

>
> Do you want this applied to the current CVS?
>

Sure. I want our development to be in sync with cvs
There are several problems we have to resolve  but basic functionality
is there and seems works for us.
Oleg

> > We have implemented multi-key index support for GiST. Patch is available
> > from  http://www.sai.msu.su/~megera/postgres/gist/code/7.1.2/patch_multikeygist.7.1.2.gz
> > The patch could be applied for postgresql version 7.1.2 and current sources 7.2
> >
> > 1. initdb is required. But, it's possible just to execute update
> >    update pg_am set amstrategies = 12 where amname = 'gist';
> >
> > 2. You have to recompile all gist_*_ops functions
> >
> > 3. multi-key indexes works only for ??? gist__int_ops and
> >    gist__intbig_ops (from contrib/intarray), because they have
> >    support for NULLs.
> >
> > As a bonus we fixed several memory leaks in old GiST code.
> >
> >
> > Example:
> >
> > create index mgix on tabletest using gist (b gist_int_ops, a
> >                                      gist__intbig_ops ) with ( islossy );
> >
> >
> >     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
> >
> >
> > ---------------------------(end of broadcast)---------------------------
> > TIP 5: Have you checked our extensive FAQ?
> >
> > http://www.postgresql.org/users-lounge/docs/faq.html
> >
>
>
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: Tom Lane
Date:
Subject: Re: Parser abort ignoring following commands
Next
From: Hannu Krosing
Date:
Subject: Re: Parser abort ignoring following commands