postgresql/src/include/optimizer
Tom Lane 5aa70422df Get rid of adjust_appendrel_attr_needed(), which has been broken ever since
we extended the appendrel mechanism to support UNION ALL optimization.  The
reason nobody noticed was that we are not actually using attr_needed data for
appendrel children; hence it seems more reasonable to rip it out than fix it.
Back-patch to 8.2 because an Assert failure is possible in corner cases.
Per examination of an example from Jim Nasby.

In HEAD, also get rid of AppendRelInfo.col_mappings, which is quite inadequate
to represent UNION ALL situations; depend entirely on translated_vars instead.
2008-11-11 18:13:54 +00:00
..
clauses.h Revise the planner's handling of "pseudoconstant" WHERE clauses, that is 2006-07-01 18:38:33 +00:00
cost.h pgindent run for 8.2. 2006-10-04 00:30:14 +00:00
geqo.h Update copyright for 2006. Update scripts. 2006-03-05 15:59:11 +00:00
geqo_copy.h Update copyright for 2006. Update scripts. 2006-03-05 15:59:11 +00:00
geqo_gene.h Update copyright for 2006. Update scripts. 2006-03-05 15:59:11 +00:00
geqo_misc.h Fix some missing inclusions identified with new pgcheckdefines tool. 2006-07-15 03:35:21 +00:00
geqo_mutation.h Update copyright for 2006. Update scripts. 2006-03-05 15:59:11 +00:00
geqo_pool.h Update copyright for 2006. Update scripts. 2006-03-05 15:59:11 +00:00
geqo_random.h Update copyright for 2006. Update scripts. 2006-03-05 15:59:11 +00:00
geqo_recombination.h Update copyright for 2006. Update scripts. 2006-03-05 15:59:11 +00:00
geqo_selection.h Update copyright for 2006. Update scripts. 2006-03-05 15:59:11 +00:00
joininfo.h Fix planner to do the right thing when a degenerate outer join (one whose 2006-12-12 21:31:09 +00:00
pathnode.h pgindent run for 8.2. 2006-10-04 00:30:14 +00:00
paths.h Fix best_inner_indexscan to return both the cheapest-total-cost and 2007-05-22 01:40:42 +00:00
plancat.h pgindent run for 8.2. 2006-10-04 00:30:14 +00:00
planmain.h Keep the planner from failing on "WHERE false AND something IN (SELECT ...)". 2007-10-04 20:44:55 +00:00
planner.h Update copyright for 2006. Update scripts. 2006-03-05 15:59:11 +00:00
predtest.h Update copyright for 2006. Update scripts. 2006-03-05 15:59:11 +00:00
prep.h Get rid of adjust_appendrel_attr_needed(), which has been broken ever since 2008-11-11 18:13:54 +00:00
restrictinfo.h Fix a bug in the original implementation of redundant-join-clause removal: 2007-07-31 19:53:50 +00:00
subselect.h Update copyright for 2006. Update scripts. 2006-03-05 15:59:11 +00:00
tlist.h Update copyright for 2006. Update scripts. 2006-03-05 15:59:11 +00:00
var.h Update copyright for 2006. Update scripts. 2006-03-05 15:59:11 +00:00