From: Robert Haas Date: Mon, 15 Nov 2010 02:27:34 +0000 (-0500) Subject: Fix bug in cube picksplit algorithm. X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=d589e40705df7e2ffa36d4159522062571339022;p=users%2Fc2main%2Fpostgres.git Fix bug in cube picksplit algorithm. Alexander Korotkov --- diff --git a/contrib/cube/cube.c b/contrib/cube/cube.c index f91e3b4bab..d97bcea701 100644 --- a/contrib/cube/cube.c +++ b/contrib/cube/cube.c @@ -609,7 +609,7 @@ g_cube_picksplit(PG_FUNCTION_ARGS) else { datum_r = union_dr; - size_r = size_alpha; + size_r = size_beta; *right++ = i; v->spl_nright++; }