]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Fix "constraint_exclusion = partition" logic so that it will also attempt
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 30 Mar 2010 21:58:18 +0000 (21:58 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 30 Mar 2010 21:58:18 +0000 (21:58 +0000)
commit9b69647824b8ceb4c2bc1b9127f5faf5f2a70129
treeaffb88b7bb16f5d37c670240a996e47e08943db9
parent3c6dc48ce4fa90ebaaf332d0f8cb77adbe3d5950
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