• Tom Lane's avatar
    Extend EXPLAIN to allow generic options to be specified. · d4382c4a
    Tom Lane authored
    The original syntax made it difficult to add options without making them
    into reserved words.  This change parenthesizes the options to avoid that
    problem, and makes provision for an explicit (and perhaps non-Boolean)
    value for each option.  The original syntax is still supported, but only
    for the two original options ANALYZE and VERBOSE.
    
    As a test case, add a COSTS option that can suppress the planner cost
    estimates.  This may be useful for including EXPLAIN output in the regression
    tests, which are otherwise unable to cope with cross-platform variations in
    cost estimates.
    
    Robert Haas
    d4382c4a
copyfuncs.c 79.6 KB