• Tom Lane's avatar
    Replace rewriter's checkQueryHasAggs and checkQueryHasSubLink · 1f2c6f4f
    Tom Lane authored
    with expression_tree_walker-based code.  The former failed to cope with
    expressions containing SubLinks, and the latter returned TRUE for both
    SubLinks and Aggrefs (cut-and-paste bug?).  There is a lot more scope for
    using expression_tree_walker in this module, but I'll restrain myself
    until the 6.6 split occurs from touching not-demonstrably-broken code.
    1f2c6f4f
rewriteHandler.c 69.4 KB