postgresql/src/include/nodes
Tom Lane edca44b152 Simplify LATERAL-related calculations within add_paths_to_joinrel().
While convincing myself that commit 7e19db0c09 would solve both of
the problems recently reported by Andreas Seltenreich, I realized that
add_paths_to_joinrel's handling of LATERAL restrictions could be made
noticeably simpler and faster if we were to retain the minimum possible
parameterization for each joinrel (that is, the set of relids supplying
unsatisfied lateral references in it).  We already retain that for
baserels, in RelOptInfo.lateral_relids, so we can use that field for
joinrels too.

I re-pgindent'd the files touched here, which affects some unrelated
comments.

This is, I believe, just a minor optimization not a bug fix, so no
back-patch.
2015-12-07 18:56:17 -05:00
..
bitmapset.h Use FLEXIBLE_ARRAY_MEMBER in a bunch more places. 2015-02-20 00:11:42 -05:00
execnodes.h Make sequential scans parallel-aware. 2015-11-11 08:57:52 -05:00
lockoptions.h Improve representation of PlanRowMark. 2015-03-15 18:41:47 -04:00
makefuncs.h Support GROUPING SETS, CUBE and ROLLUP. 2015-05-16 03:46:31 +02:00
memnodes.h Limit the verbosity of memory context statistics dumps. 2015-08-25 13:09:48 -04:00
nodeFuncs.h Add new function planstate_tree_walker. 2015-09-17 11:27:06 -04:00
nodes.h Add a Gather executor node. 2015-09-30 19:23:36 -04:00
params.h Fix problems with ParamListInfo serialization mechanism. 2015-11-02 18:11:29 -05:00
parsenodes.h COPY (INSERT/UPDATE/DELETE .. RETURNING ..) 2015-11-27 19:11:22 +03:00
pg_list.h Rely on inline functions even if that causes warnings in older compilers. 2015-08-05 18:19:52 +02:00
plannodes.h Provide readfuncs support for custom scans. 2015-11-12 07:40:31 -05:00
primnodes.h pgindent run for 9.5 2015-05-23 21:35:49 -04:00
print.h Update copyright for 2015 2015-01-06 11:43:47 -05:00
readfuncs.h Update copyright for 2015 2015-01-06 11:43:47 -05:00
relation.h Simplify LATERAL-related calculations within add_paths_to_joinrel(). 2015-12-07 18:56:17 -05:00
replnodes.h Add ability to reserve WAL upon slot creation via replication protocol. 2015-09-06 13:30:57 +02:00
tidbitmap.h Use FLEXIBLE_ARRAY_MEMBER in a bunch more places. 2015-02-20 00:11:42 -05:00
value.h Update copyright for 2015 2015-01-06 11:43:47 -05:00