• Tom Lane's avatar
    On Windows, use pgwin32_waitforsinglesocket() instead of select() to wait for · 4355d214
    Tom Lane authored
    input in the stats collector.  Our select() emulation is apparently buggy
    for UDP sockets :-(.  This should resolve problems with stats collection
    (and hence autovacuum) failing under more than minimal load.  Diagnosis
    and patch by Magnus Hagander.
    
    Patch probably needs to be back-ported to 8.1 and 8.0, but first let's
    see if it makes the buildfarm happy...
    4355d214
win32.h 9.38 KB