postgresql/src/backend/optimizer/util
Tom Lane c82c92b111 Give pull_var_clause() reject/recurse/return behavior for WindowFuncs too.
All along, this function should have treated WindowFuncs in a manner
similar to Aggrefs, ie with an option whether or not to recurse into them.
By not considering the case, it was always recursing, which is OK for most
callers (although I suspect that the case in prepare_sort_from_pathkeys
might represent a bug).  But now we need return-without-recursing behavior
as well.  There are also more than a few callers that should never see a
WindowFunc, and now we'll get some error checking on that.
2016-03-10 16:23:52 -05:00
..
clauses.c Improve handling of pathtargets in planner.c. 2016-03-09 01:12:16 -05:00
joininfo.c Update copyright for 2016 2016-01-02 13:33:40 -05:00
Makefile Extract restriction OR clauses whether or not they are indexable. 2013-12-30 12:24:37 -05:00
orclauses.c Update copyright for 2016 2016-01-02 13:33:40 -05:00
pathnode.c Improve handling of group-column indexes in GroupingSetsPath. 2016-03-08 22:32:11 -05:00
placeholder.c Give pull_var_clause() reject/recurse/return behavior for WindowFuncs too. 2016-03-10 16:23:52 -05:00
plancat.c Make the upper part of the planner work by generating and comparing Paths. 2016-03-07 15:58:22 -05:00
predtest.c Update copyright for 2016 2016-01-02 13:33:40 -05:00
relnode.c Make the upper part of the planner work by generating and comparing Paths. 2016-03-07 15:58:22 -05:00
restrictinfo.c Update copyright for 2016 2016-01-02 13:33:40 -05:00
tlist.c Refactor pull_var_clause's API to make it less tedious to extend. 2016-03-10 15:53:07 -05:00
var.c Give pull_var_clause() reject/recurse/return behavior for WindowFuncs too. 2016-03-10 16:23:52 -05:00