Thread: New version of contrib-intarray

New version of contrib-intarray

From
Oleg Bartunov
Date:
Hi,

New version of contrib-intarray for postgresql version 7.1 and above
is available from http://www.sai.msu.su/~megera/postgres/gist/

Changes: 1.Support for new interface of function calling (7.1 and above) 2.Optimization for gist__intbig_ops (special
treatingof degenerated   signatures)
 

This version is independent from our work on multi-key GiST, so
if 7.1.3 is planned please use it. Also, I'd like to see it in
current CVS to be in sync with development
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



Re: New version of contrib-intarray

From
Bruce Momjian
Date:
Your patch has been added to the PostgreSQL unapplied patches list at:
http://candle.pha.pa.us/cgi-bin/pgpatches

I will try to apply it within the next 48 hours.

> Hi,
> 
> New version of contrib-intarray for postgresql version 7.1 and above
> is available from http://www.sai.msu.su/~megera/postgres/gist/
> 
> Changes:
>   1.Support for new interface of function calling (7.1 and above)
>   2.Optimization for gist__intbig_ops (special treating of degenerated
>     signatures)
> 
> This version is independent from our work on multi-key GiST, so
> if 7.1.3 is planned please use it. Also, I'd like to see it in
> current CVS to be in sync with development
> 
>     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 6: Have you searched our list archives?
> 
> http://www.postgresql.org/search.mpl
> 

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


Re: New version of contrib-intarray

From
Tom Lane
Date:
Oleg Bartunov <oleg@sai.msu.su> writes:
> New version of contrib-intarray for postgresql version 7.1 and above
> is available from http://www.sai.msu.su/~megera/postgres/gist/

I'm going to be making commits later today that clean up the "char*
that should be Datum" ugliness in GiST.  I think the intarray part
of these changes overlap what you've done, so we're facing a bit of
a merge problem.  You should have let me know that you had more stuff
in the pipeline.

> This version is independent from our work on multi-key GiST, so
> if 7.1.3 is planned please use it.

I do not think we should be committing such changes into the 7.1.*
branch.  At this point only critical bug fixes are going to go into
that branch.
        regards, tom lane


Re: New version of contrib-intarray

From
Oleg Bartunov
Date:
On Thu, 31 May 2001, Tom Lane wrote:

> Oleg Bartunov <oleg@sai.msu.su> writes:
> > New version of contrib-intarray for postgresql version 7.1 and above
> > is available from http://www.sai.msu.su/~megera/postgres/gist/
>
> I'm going to be making commits later today that clean up the "char*
> that should be Datum" ugliness in GiST.  I think the intarray part
> of these changes overlap what you've done, so we're facing a bit of
> a merge problem.  You should have let me know that you had more stuff
> in the pipeline.
>

We have been waiting for applying our patch to current sources
to be in sync. We'll change sources of new version of contrib-intarray
taking into account your comments.

Our TODO:
1. Implementation some btree_ops using GiST   But we need a solution of problem with different types of   key and
columncompatible with multi-key GiST index
 
2. After resolving the problem 1. we need to remove workaround in   rtree GiSt code
3. regression test for built-in rtree and based on it regression test for   GiST.
4. documentation and Guide for programmers


We badly need a solution from item 1 !!! We don't know internals of postgres
enough to resolve this problem ourselves. Do you have any idea ?


> > This version is independent from our work on multi-key GiST, so
> > if 7.1.3 is planned please use it.
>
> I do not think we should be committing such changes into the 7.1.*
> branch.  At this point only critical bug fixes are going to go into
> that branch.

agreed. we'll put new versions on our page.

>
>             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



Re: Re: New version of contrib-intarray

From
Oleg Bartunov
Date:
On Fri, 1 Jun 2001, Oleg Bartunov wrote:

> On Thu, 31 May 2001, Tom Lane wrote:
>
> > Oleg Bartunov <oleg@sai.msu.su> writes:
> > > New version of contrib-intarray for postgresql version 7.1 and above
> > > is available from http://www.sai.msu.su/~megera/postgres/gist/
> >
> > I'm going to be making commits later today that clean up the "char*
> > that should be Datum" ugliness in GiST.  I think the intarray part
> > of these changes overlap what you've done, so we're facing a bit of
> > a merge problem.  You should have let me know that you had more stuff
> > in the pipeline.
> >
>
> We have been waiting for applying our patch to current sources
> to be in sync. We'll change sources of new version of contrib-intarray
> taking into account your comments.
>

Tom, as promised, I attached patch to current CVS contrib/intarray -
it's reimplemented to use function interface version 1 and special
treating of degenerated signatures.

Corresponding version for 7.1.X is available from
http://www.sai.msu.su/~megera/postgres/gist/
As we discussed previously we don't insist to include it into
7.1.X branch.
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

Re: Re: New version of contrib-intarray

From
Tom Lane
Date:
Oleg Bartunov <oleg@sai.msu.su> writes:
>> We have been waiting for applying our patch to current sources
>> to be in sync. We'll change sources of new version of contrib-intarray
>> taking into account your comments.

> Tom, as promised, I attached patch to current CVS contrib/intarray -
> it's reimplemented to use function interface version 1 and special
> treating of degenerated signatures.

Applied.
        regards, tom lane