Re: Statistical aggregate functions are not working with PARTIAL aggregation

Robert Haas <robertmhaas@gmail.com>

From: Robert Haas <robertmhaas@gmail.com>
To: Andres Freund <andres@anarazel.de>
Cc: David Rowley <david.rowley@2ndquadrant.com>, Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>, Rajkumar Raghuwanshi <rajkumar.raghuwanshi@enterprisedb.com>, PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2019-05-20T13:23:46Z
Lists: pgsql-hackers
On Sun, May 19, 2019 at 2:36 PM Andres Freund <andres@anarazel.de> wrote:
> Not sure I understand the distinction you're trying to make with the
> variable renaming. The combine function is also a transition function,
> no?

Not in my mental model.  It's true that a combine function is used in
a similar manner to a transition function, but they are not the same
thing.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



Commits

  1. Minimally fix partial aggregation for aggregates that don't have one argument.

  2. Change function call information to be variable length.