postgresql/contrib/seg
Tom Lane 2a6ebe70fb Fix contrib/seg's GiST picksplit method.
This patch replaces Guttman's generalized split method with a simple
sort-by-center-points algorithm.  Since the data is only one-dimensional
we don't really need the slow and none-too-stable Guttman method.

This is in part a bug fix, since seg has the same size_alpha versus
size_beta typo that was recently fixed in contrib/cube.  It seems
prudent to apply this rather aggressive fix only in HEAD, though.
Back branches will just get the typo fix.

Alexander Korotkov, reviewed by Yeb Havinga
2010-12-15 21:24:47 -05:00
..
data Modify the float4 datatype to be pass-by-val. Along the way, remove the last 2008-04-18 18:43:09 +00:00
expected Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
sql Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
.gitignore Some more gitignore cleanups: cover contrib and PL regression test outputs. 2010-09-22 17:22:40 -04:00
Makefile Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
seg-validate.pl
seg.c Fix contrib/seg's GiST picksplit method. 2010-12-15 21:24:47 -05:00
seg.sql.in Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
segdata.h Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
segparse.y Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
segscan.l Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
sort-segments.pl Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
uninstall_seg.sql Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00