diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2010-12-15 21:22:38 -0500 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2010-12-15 21:24:06 -0500 |
commit | 16d5fd6a991cd37b79260a82f50d730433df8c54 (patch) | |
tree | 0cd6c74e665adc7d035bbe97ac38ff2860746754 | |
parent | 4d836f34b51e3726c8765aab1feff98a185e6a5d (diff) | |
download | postgresql-16d5fd6a991cd37b79260a82f50d730433df8c54.tar.gz postgresql-16d5fd6a991cd37b79260a82f50d730433df8c54.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.c | 2 |
1 files changed, 1 insertions, 1 deletions
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++; } |