OSDN Git Service

Fix constraint exclusion to work in inherited UPDATE/DELETE queries
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 4 Feb 2006 23:03:20 +0000 (23:03 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 4 Feb 2006 23:03:20 +0000 (23:03 +0000)
commit3893127431b41a3341ac5ff9611c7ea0215b9110
tree7d15367f9f19df8f39b1b5c00b4c33aaed1025d7
parent48d9ad372251d188bcb0a733e875018a5f1f3503
Fix constraint exclusion to work in inherited UPDATE/DELETE queries
... in fact, it will be applied now in any query whatsoever.  I'm still
a bit concerned about the cycles that might be expended in failed proof
attempts, but given that CE is turned off by default, it's the user's
choice whether to expend those cycles or not.  (Possibly we should
change the simple bool constraint_exclusion parameter to something
more fine-grained?)
doc/src/sgml/config.sgml
doc/src/sgml/ddl.sgml
src/backend/optimizer/path/allpaths.c
src/backend/optimizer/path/joinpath.c
src/backend/optimizer/util/plancat.c
src/include/optimizer/plancat.h