• Peter Eisentraut's avatar
    Fix costing of parallel hash joins. · 5b804cc1
    Peter Eisentraut authored
    Commit 18042840 established that single-batch
    parallel-aware hash joins could create one large shared hash table using the
    combined work_mem budget of all participants.  The costing accidentally
    assumed that parallel-oblivious hash joins could also do that.  The
    documentation for initial_cost_hashjoin() also failed to mention the new
    argument.  Repair.
    
    Author: Thomas Munro
    Reported-By: Antonin Houska
    Reviewed-By: Antonin Houska
    Discussion: https://postgr.es/m/12441.1513935950%40localhost
    5b804cc1
joinpath.c 63.8 KB