aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/jsonfuncs.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
commit3a7bd59c4496b5b9a7cec9ab6f1eb6b111a8b046 (patch)
treecfc9c5f373f3495024d6ad4524181475c15dae5d /src/backend/utils/adt/jsonfuncs.c
parentdf31a9fc66f11e824872dc09d22f389cbd5bc803 (diff)
downloadpostgresql-3a7bd59c4496b5b9a7cec9ab6f1eb6b111a8b046.tar.gz
postgresql-3a7bd59c4496b5b9a7cec9ab6f1eb6b111a8b046.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/backend/utils/adt/jsonfuncs.c')
0 files changed, 0 insertions, 0 deletions