• Andres Freund's avatar
    Fix EXPLAIN ANALYZE output for Parallel Hash. · 93ea78b1
    Andres Freund authored
    In a race case, EXPLAIN ANALYZE could fail to display correct nbatch
    and size information.  Refactor so that participants report only on
    batches they worked on rather than trying to report on all of them,
    and teach explain.c to consider the HashInstrumentation object from
    all participants instead of picking the first one it can find.  This
    should fix an occasional build farm failure in the "join" regression
    test.
    
    Author: Thomas Munro
    Reviewed-By: Andres Freund
    Discussion: https://postgr.es/m/30219.1514428346%40sss.pgh.pa.us
    93ea78b1
nodeHash.h 3.06 KB