• Tom Lane's avatar
    First cut at doing something reasonable with OR-of-ANDs WHERE · 43d32d36
    Tom Lane authored
    conditions.  There are some pretty bogus heuristics in prepqual.c that
    try to decide whether to output CNF or DNF format; they need to be replaced,
    likely.  Right now the code is probably too willing to choose DNF form,
    which might hurt performance in some cases that used to work OK.
    But at least we have a foundation to build on.
    43d32d36
planner.c 21.4 KB