• Robert Haas's avatar
    Don't generate parallel paths for rels with parallel-restricted outputs. · b12fd41c
    Robert Haas authored
    Such paths are unsafe.  To make it cheaper to detect when this case
    applies, track whether a relation's default PathTarget contains any
    non-Vars.  In most cases, the answer will be no, which enables us to
    determine cheaply that the target list for a proposed path is
    parallel-safe.  However, subquery pull-up can create cases that
    require us to inspect the target list more carefully.
    
    Amit Kapila, reviewed by me.
    b12fd41c
outfuncs.c 87 KB