• Tom Lane's avatar
    Performance improvements in cnfify(): get rid of exponential · 8759f175
    Tom Lane authored
    space consumption in pull_args, and avoid doing the full CNF transform on
    operands of operator clauses, where it's really not particularly helpful.
    This answers the TODO item about large numbers of OR clauses, at least
    partially.  I was able to do a ten-thousand-OR-clause query with about
    20Mb memory consumption ... it took an obscenely long time, but it worked...
    8759f175
prepqual.c 14.6 KB