From: Tom Lane Date: Thu, 16 Dec 2010 02:22:38 +0000 (-0500) Subject: Fix contrib/seg's GiST picksplit method. X-Git-Tag: REL8_2_20~18 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=16d5fd6a991cd37b79260a82f50d730433df8c54;p=thirdparty%2Fpostgresql.git 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). --- diff --git a/contrib/seg/seg.c b/contrib/seg/seg.c index aea86765568..3354a900942 100644 --- a/contrib/seg/seg.c +++ b/contrib/seg/seg.c @@ -426,7 +426,7 @@ gseg_picksplit(GistEntryVector *entryvec, else { datum_r = union_dr; - size_r = size_alpha; + size_r = size_beta; *right++ = i; v->spl_nright++; }