]> granicus.if.org Git - postgresql/commit
Fix inheritance_planner() to delete dummy subplans from its Append plan
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 5 Aug 2006 17:21:52 +0000 (17:21 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 5 Aug 2006 17:21:52 +0000 (17:21 +0000)
commit635d42e9c3ecd3d7ef0de51f548bed169a2d8c66
tree19e689b92e3e6bb9f0b94b908da9098fdf10eb60
parent1d28bf25896eb6400547c46e8a9587370fd09c1d
Fix inheritance_planner() to delete dummy subplans from its Append plan
list, when some of the child rels have been excluded by constraint
exclusion.  This doesn't save a huge amount of time but it'll save some,
and it makes the EXPLAIN output look saner.  We already did the
equivalent thing in set_append_rel_pathlist(), but not here.
src/backend/optimizer/plan/planner.c