Fix "constraint_exclusion = partition" logic so that it will also attempt
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 30 Mar 2010 21:58:11 +0000 (21:58 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 30 Mar 2010 21:58:11 +0000 (21:58 +0000)
commitd174a4adbb7423ee5ff30aa98043db4521ffd1be
treeddbcea5d50df5337bcfc6c5969232b2e492a71de
parent2a77355ea1e53bc234ed0b5fda8ec9f304f6797a
Fix "constraint_exclusion = partition" logic so that it will also attempt
constraint exclusion on an inheritance set that is the target of an UPDATE
or DELETE query.  Per gripe from Marc Cousin.  Back-patch to 8.4 where
the feature was introduced.
src/backend/nodes/outfuncs.c
src/backend/optimizer/plan/planner.c
src/backend/optimizer/util/plancat.c
src/include/nodes/relation.h