From: Robert Haas <rhaas@postgresql.org>
To: pgsql-committers@postgresql.org
Subject: pgsql: Add parallel query support functions for assorted aggregates.
Date: Tue, 05 Apr 2016 18:33:38 +0000
Message-ID: <E1anVnG-0003Lg-4U@gemulon.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>
Add parallel query support functions for assorted aggregates.
This lets us use parallel aggregate for a variety of useful cases
that didn't work before, like sum(int8), sum(numeric), several
versions of avg(), and various other functions.
Add some regression tests, as well, testing the general sanity of
these and future catalog entries.
David Rowley, reviewed by Tomas Vondra, with a few further changes
by me.
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/11c8669c0cc7abc7a7702594cf13452c378d2517
Modified Files
--------------
src/backend/utils/adt/numeric.c | 860 +++++++++++++++++++++++++
src/backend/utils/adt/timestamp.c | 49 ++
src/include/catalog/catversion.h | 2 +-
src/include/catalog/pg_aggregate.h | 108 ++--
src/include/catalog/pg_proc.h | 28 +
src/include/utils/builtins.h | 13 +
src/include/utils/timestamp.h | 1 +
src/test/regress/expected/create_aggregate.out | 91 ++-
src/test/regress/expected/opr_sanity.out | 97 ++-
src/test/regress/sql/create_aggregate.sql | 85 ++-
src/test/regress/sql/opr_sanity.sql | 62 +-
11 files changed, 1317 insertions(+), 79 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 parallel query support functions for assorted aggregates.
In-Reply-To: <E1anVnG-0003Lg-4U@gemulon.postgresql.org>
References: <E1anVnG-0003Lg-4U@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