Extend relation_excluded_by_constraints() to check for mutually
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 5 Aug 2006 00:22:49 +0000 (00:22 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 5 Aug 2006 00:22:49 +0000 (00:22 +0000)
commit514a60a666493cb3fd37646756ede57dec2e2a55
tree4e828581d314b9f3ecbe581625c335dfaadff759
parent2d11e86e05930c38ea6b1a1c9188ce5d53896337
Extend relation_excluded_by_constraints() to check for mutually
contradictory WHERE-clauses applied to a relation.  This makes the
GUC variable constraint_exclusion rather inappropriately named,
but I've refrained for the moment from renaming it.
Per example from Martin Lesser.
src/backend/optimizer/util/plancat.c