• Robert Haas's avatar
    Fix parallel-safety code for parallel aggregation. · 41ea0c23
    Robert Haas authored
    has_parallel_hazard() was ignoring the proparallel markings for
    aggregates, which is no good.  Fix that.  There was no way to mark
    an aggregate as actually being parallel-safe, either, so add a
    PARALLEL option to CREATE AGGREGATE.
    
    Patch by me, reviewed by David Rowley.
    41ea0c23
aggregatecmds.c 16.8 KB