Add combine functions for various floating-point aggregates.

Robert Haas <rhaas@postgresql.org>

Commit: af025eed536d3842d085ed9e4f9107eb976575cc
Author: Robert Haas <rhaas@postgresql.org>
Date: 2016-04-08T17:47:06Z
Releases: 9.6.0
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

Files

PathChange+/−
doc/src/sgml/func.sgml modified +20 −20
src/backend/utils/adt/float.c modified +107 −0
src/include/catalog/pg_aggregate.h modified +26 −26
src/include/catalog/pg_proc.h modified +4 −0
src/include/utils/builtins.h modified +2 −0

Documentation touched