summaryrefslogtreecommitdiff
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:43 -0500
commit04a1f0938717561feff526f39e930eef85c42379 (patch)
tree5198c0b6a3701052ee928cf202cd2d0a5b3ba17a
parentd5ddd2fa7747730a733245116916d877a46cb94d (diff)
downloadpostgresql-04a1f0938717561feff526f39e930eef85c42379.tar.gz
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 aea8676556..3354a90094 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++;
}