• Tom Lane's avatar
    Small improvements to OPTIMIZER_DEBUG code. · 2a2435e6
    Tom Lane authored
    Now that Paths have their own rows field, print that rather than
    the parent relation's rowcount.
    
    Show the relid sets associated with Paths using table names rather
    than numbers; since this code is able to print simple Var references
    using table names, it seems a bit silly that print_relids can't.
    
    Print the cheapest_parameterized_paths list for a RelOptInfo, and
    include information about a parameterized path's required_outer rels.
    
    Noted while trying to use this feature to debug Alexander Kirkouski's
    recent bug report.
    2a2435e6
allpaths.c 94.6 KB