Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fW62q-0004xd-N6 for pgsql-committers@arkaria.postgresql.org; Thu, 21 Jun 2018 20:19:04 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fW62p-0005Th-4Y for pgsql-committers@arkaria.postgresql.org; Thu, 21 Jun 2018 20:19:03 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fW62o-0005TZ-SV for pgsql-committers@lists.postgresql.org; Thu, 21 Jun 2018 20:19:03 +0000 Received: from mahout.postgresql.org ([2001:4800:1501:1::227]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fW62l-0000Wy-U3 for pgsql-committers@lists.postgresql.org; Thu, 21 Jun 2018 20:19:01 +0000 Received: from gemulon.postgresql.org ([2001:4800:1501:1::198]) by mahout.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1fW62l-00015C-Cz for pgsql-committers@lists.postgresql.org; Thu, 21 Jun 2018 20:18:59 +0000 Received: from git by gemulon.postgresql.org with local (Exim 4.89) (envelope-from ) id 1fW62k-00043D-Sr for pgsql-committers@lists.postgresql.org; Thu, 21 Jun 2018 20:18:58 +0000 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 To: pgsql-committers@lists.postgresql.org From: Tom Lane Subject: pgsql: Fix partial aggregation for variance(int4) and related aggregate Message-Id: Date: Thu, 21 Jun 2018 20:18:58 +0000 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk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