postgresql/src/backend
Robert Haas a7de3dc5c3 Support multi-stage aggregation.
Aggregate nodes now have two new modes: a "partial" mode where they
output the unfinalized transition state, and a "finalize" mode where
they accept unfinalized transition states rather than individual
values as input.

These new modes are not used anywhere yet, but they will be necessary
for parallel aggregation.  The infrastructure also figures to be
useful for cases where we want to aggregate local data and remote
data via the FDW interface, and want to bring back partial aggregates
from the remote side that can then be combined with locally generated
partial aggregates to produce the final value.  It may also be useful
even when neither FDWs nor parallelism are in play, as explained in
the comments in nodeAgg.c.

David Rowley and Simon Riggs, reviewed by KaiGai Kohei, Heikki
Linnakangas, Haribabu Kommi, and me.
2016-01-20 13:46:50 -05:00
..
access Fix assorted inconsistencies in GiST opclass support function declarations. 2016-01-19 12:04:36 -05:00
bootstrap Update copyright for 2016 2016-01-02 13:33:40 -05:00
catalog Support multi-stage aggregation. 2016-01-20 13:46:50 -05:00
commands Support multi-stage aggregation. 2016-01-20 13:46:50 -05:00
executor Support multi-stage aggregation. 2016-01-20 13:46:50 -05:00
foreign Update copyright for 2016 2016-01-02 13:33:40 -05:00
lib Add two HyperLogLog functions 2016-01-19 17:40:15 -03:00
libpq Properly close token in sspi authentication 2016-01-14 13:06:03 +01:00
main Update copyright for 2016 2016-01-02 13:33:40 -05:00
nodes Support multi-stage aggregation. 2016-01-20 13:46:50 -05:00
optimizer Support multi-stage aggregation. 2016-01-20 13:46:50 -05:00
parser Support multi-stage aggregation. 2016-01-20 13:46:50 -05:00
po Translation updates 2015-06-28 23:56:55 -04:00
port Windows: Make pg_ctl reliably detect service status 2016-01-07 11:59:08 -03:00
postmaster Restructure index access method API to hide most of it at the C level. 2016-01-17 19:36:59 -05:00
regex Update copyright for 2016 2016-01-02 13:33:40 -05:00
replication Clean up some lack-of-STRICT issues in the core code, too. 2016-01-09 16:58:32 -05:00
rewrite Update copyright for 2016 2016-01-02 13:33:40 -05:00
snowball Update copyright for 2016 2016-01-02 13:33:40 -05:00
storage Update copyright for 2016 2016-01-02 13:33:40 -05:00
tcop Update copyright for 2016 2016-01-02 13:33:40 -05:00
tsearch Update copyright for 2016 2016-01-02 13:33:40 -05:00
utils Properly install dynloader.h on MSVC builds 2016-01-19 23:30:29 -05:00
.gitignore Add .gitignore entries for AIX-specific intermediate build artifacts. 2015-07-08 20:44:22 -04:00
Makefile Update copyright for 2016 2016-01-02 13:33:40 -05:00
common.mk Remove maintainer-check target, fold into normal build 2013-10-10 20:11:56 -04:00
nls.mk Remove trailing slashes from directories in find command 2015-09-18 22:06:54 -04:00