Revision 59a3795c2589a0e6dfe4d9a886de9423b3f8b057 authored by Tom Lane on 26 June 2016, 16:08:12 UTC, committed by Tom Lane on 26 June 2016, 16:08:12 UTC
Commit e06a38965's original coding for constructing the execution-time
expression tree for a combining aggregate was rather messy, involving
duplicating quite a lot of code in setrefs.c so that it could inject
a nonstandard matching rule for Aggrefs.  Get rid of that in favor of
explicitly constructing a combining Aggref with a partial Aggref as input,
then allowing setref's normal matching logic to match the partial Aggref
to the output of the lower plan node and hence replace it with a Var.

In passing, rename and redocument make_partialgroup_input_target to have
some connection to what it actually does.
1 parent e3ad3ff
History
File Mode Size
backend
bin
common
fe_utils
include
interfaces
makefiles
pl
port
template
test
timezone
tools
tutorial
.gitignore -rw-r--r-- 49 bytes
DEVELOPERS -rw-r--r-- 173 bytes
Makefile -rw-r--r-- 1.9 KB
Makefile.global.in -rw-r--r-- 26.0 KB
Makefile.shlib -rw-r--r-- 16.0 KB
bcc32.mak -rw-r--r-- 1.2 KB
nls-global.mk -rw-r--r-- 5.8 KB
win32.mak -rw-r--r-- 760 bytes

back to top