OSDN Git Service

Further improvements in cnfify: reduce amount of self-recursion
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 12 Sep 1999 18:08:17 +0000 (18:08 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 12 Sep 1999 18:08:17 +0000 (18:08 +0000)
commit2119cc0670c90f0c857137d1ca37c99997e31290
tree1b8d8b261d51100c618017db5fbdf9741d86ed32
parent4644fc80714f91997ce660be580c98c9bd9a525c
Further improvements in cnfify: reduce amount of self-recursion
in or_normalize, remove detection of duplicate subexpressions (since it's
highly unlikely to be worth the amount of time it takes), and introduce
a dnfify() entry point so that unintelligible backwards logic in UNION
processing can be eliminated.  This is just an intermediate step ---
next thing is to look at not forcing the qual into CNF form when it would
be better off in DNF form.
src/backend/optimizer/prep/prepqual.c
src/include/optimizer/prep.h