| From: | Robert Haas <rhaas(at)postgresql(dot)org> |
|---|---|
| To: | pgsql-committers(at)postgresql(dot)org |
| Subject: | pgsql: Add combine functions for various floating-point aggregates. |
| Date: | 2016-04-08 17:49:13 |
| Message-ID: | E1aoaWv-00048X-37@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-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(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2016-04-08 17:52:17 | pgsql: Add BSD authentication method. |
| Previous Message | Teodor Sigaev | 2016-04-08 17:38:32 | pgsql: Fix output of regression test of contrib/tsearch2 |