• Tom Lane's avatar
    Check for interrupts and stack overflow during rule/view dumps. · 0bff3987
    Tom Lane authored
    Since ruleutils.c recurses, it could be driven to stack overflow by
    deeply nested constructs.  Very large queries might also take long
    enough to deparse that a check for interrupts seems like a good idea.
    Stick appropriate tests into a couple of key places.
    
    Noted by Greg Stark.  Back-patch to all supported branches.
    0bff3987
ruleutils.c 254 KB