From: Robert Haas <rhaas@postgresql.org>
To: pgsql-committers@postgresql.org
Subject: pgsql: Add combine functions for various floating-point aggregates.
Date: Fri, 08 Apr 2016 17:49:13 +0000
Message-ID: <E1aoaWv-00048X-37@gemulon.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>
Add combine functions for various floating-point aggregates.
This allows parallel aggregation to use them. It may seem surprising
that we use float8_combine for both float4_accum and float8_accum
transition functions, but that's because those functions differ only
in the type of the non-transition-state argument.
Haribabu Kommi, reviewed by David Rowley and Tomas Vondra
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/af025eed536d3842d085ed9e4f9107eb976575cc
Modified Files
--------------
doc/src/sgml/func.sgml | 40 +++++++-------
src/backend/utils/adt/float.c | 107 +++++++++++++++++++++++++++++++++++++
src/include/catalog/pg_aggregate.h | 52 +++++++++---------
src/include/catalog/pg_proc.h | 4 ++
src/include/utils/builtins.h | 2 +
5 files changed, 159 insertions(+), 46 deletions(-)
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: rhaas@postgresql.org
Subject: Re: pgsql: Add combine functions for various floating-point aggregates.
In-Reply-To: <E1aoaWv-00048X-37@gemulon.postgresql.org>
References: <E1aoaWv-00048X-37@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox