• Tom Lane's avatar
    For testing purposes, reinsert a timeout in pgstat.c's wait call. · d461d050
    Tom Lane authored
    Test results from buildfarm members mastodon/narwhal (Windows Server 2003)
    make it look like that platform just plain loses FD_READ events
    occasionally, and the only reason our previous coding seemed to work was
    that it timed out every couple of seconds and retried the whole operation.
    Try to verify this by reinserting a finite timeout into the pgstat loop.
    This isn't meant to be a permanent patch either, just to confirm or
    disprove a theory.
    d461d050
pgstat.c 120 KB