[COMMITTERS] pgsql: Re-allow SRFs and window functions within sub-selects within agg

2017-06-28 Thread Tom Lane
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

[COMMITTERS] pgsql: Re-allow SRFs and window functions within sub-selects within agg

2017-06-28 Thread Tom Lane
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

[COMMITTERS] pgsql: Re-allow SRFs and window functions within sub-selects within agg

2017-06-28 Thread Tom Lane
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

[COMMITTERS] pgsql: Re-allow SRFs and window functions within sub-selects within agg

2017-06-28 Thread Tom Lane
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

[COMMITTERS] pgsql: Re-allow SRFs and window functions within sub-selects within agg

2017-06-28 Thread Tom Lane
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