aboutsummaryrefslogtreecommitdiff
path: root/src/tutorial/funcs.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2017-06-27 17:51:11 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2017-06-27 17:51:11 -0400
commitdc777f9db3e9a5f979f4f847c96949ca5555f355 (patch)
treebc5d136def0bccdc01bada071f31a3f9acd00373 /src/tutorial/funcs.c
parent47fec424cbc9ea281d5bc4649ccedcba3e1116cf (diff)
downloadpostgresql-dc777f9db3e9a5f979f4f847c96949ca5555f355.tar.gz
postgresql-dc777f9db3e9a5f979f4f847c96949ca5555f355.zip
Re-allow SRFs and window functions within sub-selects within aggregates.
check_agg_arguments_walker threw an error upon seeing a SRF or window function, but that is too aggressive: if the function is within a sub-select then it's perfectly fine. I broke the SRF case in commit 0436f6bde by copying the logic for window functions ... but that was broken too, and had been since commit eaccfded9. Repair both cases in HEAD, and the window function case back to 9.3. 9.2 gets this right.
Diffstat (limited to 'src/tutorial/funcs.c')
0 files changed, 0 insertions, 0 deletions