Thread: Please, apply patch for current CVS

Please, apply patch for current CVS

From
Teodor Sigaev
Date:
Patch for contrib/intarray and contrib/ltree modules.

Download from: 
http://www.sai.msu.su/~megera/postgres/gist/patches/intarray_ltree.patch.gz

Changes:
1 intarray: bugfix for int[]-int[] operation
2 intarray: split _int.c to several files (_int.c now is unused)
3 ntarray (gist__intbig_ops opclass): use special type for index storage
4 ltree (gist__ltree_ops opclass), intarray (gist__intbig_ops): optimize GiST's 
penalty and picksplit interface functions, now use Hemming distance.

Thank you.

-- 
Teodor Sigaev                                  E-mail: teodor@sigaev.ru



Re: Please, apply patch for current CVS

From
Teodor Sigaev
Date:
Resend patch, pls, do not forgot to apply it.

Teodor Sigaev wrote:
> Patch for contrib/intarray and contrib/ltree modules.
> 
> Download from: 
> http://www.sai.msu.su/~megera/postgres/gist/patches/intarray_ltree.patch.gz
> 
> Changes:
> 1 intarray: bugfix for int[]-int[] operation
> 2 intarray: split _int.c to several files (_int.c now is unused)
> 3 intarray (gist__intbig_ops opclass): use special type for index storage
> 4 ltree (gist__ltree_ops opclass), intarray (gist__intbig_ops): optimize 
> GiST's penalty and picksplit interface functions now use Hemming distance.
> 
> Thank you.
> 

-- 
Teodor Sigaev                                  E-mail: teodor@sigaev.ru



Re: Please, apply patch for current CVS

From
Bruce Momjian
Date:
Your patch has been added to the PostgreSQL unapplied patches list at:
http://momjian.postgresql.org/cgi-bin/pgpatches

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

---------------------------------------------------------------------------


Teodor Sigaev wrote:
> Patch for contrib/intarray and contrib/ltree modules.
> 
> Download from: 
> http://www.sai.msu.su/~megera/postgres/gist/patches/intarray_ltree.patch.gz
> 
> Changes:
> 1 intarray: bugfix for int[]-int[] operation
> 2 intarray: split _int.c to several files (_int.c now is unused)
> 3 ntarray (gist__intbig_ops opclass): use special type for index storage
> 4 ltree (gist__ltree_ops opclass), intarray (gist__intbig_ops): optimize GiST's 
> penalty and picksplit interface functions, now use Hemming distance.
> 
> Thank you.
> 
> -- 
> Teodor Sigaev                                  E-mail: teodor@sigaev.ru
> 
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
> 
> http://archives.postgresql.org
> 

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 


Re: Please, apply patch for current CVS

From
Bruce Momjian
Date:
Patch applied.  You patch indicated _int.c should be removed from CVS,
so I have done so.

---------------------------------------------------------------------------

Teodor Sigaev wrote:
> Patch for contrib/intarray and contrib/ltree modules.
> 
> Download from: 
> http://www.sai.msu.su/~megera/postgres/gist/patches/intarray_ltree.patch.gz
> 
> Changes:
> 1 intarray: bugfix for int[]-int[] operation
> 2 intarray: split _int.c to several files (_int.c now is unused)
> 3 ntarray (gist__intbig_ops opclass): use special type for index storage
> 4 ltree (gist__ltree_ops opclass), intarray (gist__intbig_ops): optimize GiST's 
> penalty and picksplit interface functions, now use Hemming distance.
> 
> Thank you.
> 
> -- 
> Teodor Sigaev                                  E-mail: teodor@sigaev.ru
> 
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
> 
> http://archives.postgresql.org
> 

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 


Re: Please, apply patch for current CVS

From
Tom Lane
Date:
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> Patch applied.  You patch indicated _int.c should be removed from CVS,
> so I have done so.

This patch causes contrib/intarray to fail to build.

$ make
sed 's,MODULE_PATHNAME,$libdir/_int,g' _int.sql.in >_int.sql
make: *** No rule to make target `_int_bool.o', needed by `lib_int.a'.  Stop.
$
        regards, tom lane


Re: Please, apply patch for current CVS

From
Bruce Momjian
Date:
Thanks.  Fixed.

---------------------------------------------------------------------------

Tom Lane wrote:
> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> > Patch applied.  You patch indicated _int.c should be removed from CVS,
> > so I have done so.
> 
> This patch causes contrib/intarray to fail to build.
> 
> $ make
> sed 's,MODULE_PATHNAME,$libdir/_int,g' _int.sql.in >_int.sql
> make: *** No rule to make target `_int_bool.o', needed by `lib_int.a'.  Stop.
> $
> 
>             regards, tom lane
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
> 
> http://archives.postgresql.org
> 

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073