• Tom Lane's avatar
    Add some logging code for unexpected cases in pgstat.c, particularly being · 52e2b33a
    Tom Lane authored
    unable to read a stats file for reasons other than ENOENT, and having to reset
    last_statrequest because it's later than current time in the collector.
    Not clear if this will shed any light on the "pgstat wait timeout" business,
    but it seems like a good idea in general.
    
    In passing, do some message-style-police work on recently-added
    pgstat_reset_shared_counters code.
    52e2b33a
pgstat.c 109 KB