Thread: pgsql: In pgstat.c, use a timeout in WaitLatchOrSocket only on Windows.

In pgstat.c, use a timeout in WaitLatchOrSocket only on Windows.

We have no need for a timeout here really, but some broken products from
Redmond seem to lose FD_READ events occasionally, and waking up and
retrying the recv() is the only known way to work around that.  Perhaps
somebody will be motivated to figure out a better answer here; but not I.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/9b63e9869ffaa4d6d3e8bf45086a765d8f310f1c

Modified Files
--------------
src/backend/postmaster/pgstat.c |   23 ++++++++++++++++++++---
1 files changed, 20 insertions(+), 3 deletions(-)