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).
REL8_4_STABLE
Tom Lane 15 years ago
parent 35862ff7f2
commit 7bfefa9a12
  1. 2
      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++;
}

Loading…
Cancel
Save