postgresql/src/include/nodes
Tom Lane f6ce81f55a Fix WITH attached to a nested set operation (UNION/INTERSECT/EXCEPT).
Parse analysis neglected to cover the case of a WITH clause attached to an
intermediate-level set operation; it only handled WITH at the top level
or WITH attached to a leaf-level SELECT.  Per report from Adam Mackler.

In HEAD, I rearranged the order of SelectStmt's fields to put withClause
with the other fields that can appear on non-leaf SelectStmts.  In back
branches, leave it alone to avoid a possible ABI break for third-party
code.

Back-patch to 8.4 where WITH support was added.
2012-07-31 17:56:21 -04:00
..
bitmapset.h Use parameterized paths to generate inner indexscans more flexibly. 2012-01-27 19:26:38 -05:00
execnodes.h Fix whole-row Var evaluation to cope with resjunk columns (again). 2012-07-20 13:10:58 -04:00
makefuncs.h Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
memnodes.h Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
nodeFuncs.h Code review for protransform patches. 2012-03-23 17:29:57 -04:00
nodes.h Fix whole-row Var evaluation to cope with resjunk columns (again). 2012-07-20 13:10:58 -04:00
params.h Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
parsenodes.h Fix WITH attached to a nested set operation (UNION/INTERSECT/EXCEPT). 2012-07-31 17:56:21 -04:00
pg_list.h Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
plannodes.h Add some infrastructure for contrib/pg_stat_statements. 2012-03-27 15:17:40 -04:00
primnodes.h Run pgindent on 9.2 source tree in preparation for first 9.3 2012-06-10 15:20:04 -04:00
print.h Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
readfuncs.h Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
relation.h Run pgindent on 9.2 source tree in preparation for first 9.3 2012-06-10 15:20:04 -04:00
replnodes.h Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
tidbitmap.h Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
value.h Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00