aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2010-12-15 21:22:38 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2010-12-15 21:23:11 -0500
commit7bfefa9a12968c5f3210569f37de402282fb99e6 (patch)
tree36a9d23802795948930be398afe2e636b02f95f6
parent35862ff7f2f4fbaaa1feafe573d46bb80356f16f (diff)
downloadpostgresql-7bfefa9a12968c5f3210569f37de402282fb99e6.tar.gz
postgresql-7bfefa9a12968c5f3210569f37de402282fb99e6.zip
Fix contrib/seg's GiST picksplit method.
Fix the same size_alpha versus size_beta typo that was recently fixed in contrib/cube. Noted by Alexander Korotkov. Back-patch to all supported branches (there is a more invasive fix in HEAD).
-rw-r--r--contrib/seg/seg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/seg/seg.c b/contrib/seg/seg.c
index 930a35b0093..0a6cd025293 100644
--- a/contrib/seg/seg.c
+++ b/contrib/seg/seg.c
@@ -432,7 +432,7 @@ gseg_picksplit(GistEntryVector *entryvec,
else
{
datum_r = union_dr;
- size_r = size_alpha;
+ size_r = size_beta;
*right++ = i;
v->spl_nright++;
}