• Tom Lane's avatar
    Allow treating TABLESAMPLE scans as parallel-safe. · 2c6e6471
    Tom Lane authored
    This was the intention all along, but an extraneous "return;" in
    set_rel_consider_parallel() caused sampled rels to never be marked
    consider_parallel.
    
    Since we don't have any partial tablesample path/plan type yet, there's
    no possibility of parallelizing the sample scan itself; but this fix
    allows such a scan to appear below a parallel join, for example.
    2c6e6471
allpaths.c 95 KB