• Tom Lane's avatar
    Simplify the planner's join clause management by storing join clauses · a31ad27f
    Tom Lane authored
    of a relation in a flat 'joininfo' list.  The former arrangement grouped
    the join clauses according to the set of unjoined relids used in each;
    however, profiling on test cases involving lots of joins proves that
    that data structure is a net loss.  It takes more time to group the
    join clauses together than is saved by avoiding duplicate tests later.
    It doesn't help any that there are usually not more than one or two
    clauses per group ...
    a31ad27f
restrictinfo.h 1.35 KB