• Tom Lane's avatar
    Force pgwin32_recv into nonblock mode when called from pgstat.c. · f1ca5154
    Tom Lane authored
    This should get rid of the usage of pgwin32_waitforsinglesocket entirely,
    and perhaps thereby remove the race condition that's evidently still
    present on some versions of Windows.  The previous arrangement was a bit
    unsafe anyway, since waiting at the recv() would not allow pgstat to notice
    postmaster death.
    f1ca5154
pgstat.c 120 KB