]> granicus.if.org Git - postgresql/commit
SQL2003-standard statistical aggregates, by Sergey Koposov. I've added only
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 28 Jul 2006 18:33:04 +0000 (18:33 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 28 Jul 2006 18:33:04 +0000 (18:33 +0000)
commit1249cf8f386828ea6590920da345a334bf226041
treeba6e35746e06ebb1e4c39cdfab8cc3ef59f92fbf
parent0fd087af83e399e08c76f57d6d9ef4498b009519
SQL2003-standard statistical aggregates, by Sergey Koposov.  I've added only
the float8 versions of the aggregates, which is all that the standard requires.
Sergey's original patch also provided versions using numeric arithmetic,
but given the size and slowness of the code, I doubt we ought to include
those in core.
12 files changed:
doc/src/sgml/func.sgml
src/backend/utils/adt/float.c
src/backend/utils/adt/int8.c
src/include/catalog/catversion.h
src/include/catalog/pg_aggregate.h
src/include/catalog/pg_proc.h
src/include/utils/builtins.h
src/include/utils/int8.h
src/test/regress/expected/aggregates.out
src/test/regress/expected/opr_sanity.out
src/test/regress/sql/aggregates.sql
src/test/regress/sql/opr_sanity.sql