• Tom Lane's avatar
    Turns out that my recent elimination of the 'redundant' flatten_andors() · 56c88772
    Tom Lane authored
    code in prepqual.c had a small drawback: the flatten_andors code was
    able to cope with deeply nested AND/OR structures (like 10000 ORs in
    a row), whereas eval_const_expressions tends to recurse until it
    overruns the stack.  Revise eval_const_expressions so that it doesn't
    choke on deeply nested ANDs or ORs.
    56c88772
clauses.c 104 KB