From: | tgl(at)postgresql(dot)org (Tom Lane) |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: On Windows, use pgwin32_waitforsinglesocket() instead of select() |
Date: | 2007-01-26 20:07:01 |
Message-ID: | 20070126200701.8CB569FB1C4@postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Log Message:
-----------
On Windows, use pgwin32_waitforsinglesocket() instead of select() to wait for
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...
Tags:
----
REL8_2_STABLE
Modified Files:
--------------
pgsql/src/backend/libpq:
be-secure.c (r1.74 -> r1.74.2.1)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/libpq/be-secure.c.diff?r1=1.74&r2=1.74.2.1)
pgsql/src/backend/port/win32:
socket.c (r1.14.2.1 -> r1.14.2.2)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/port/win32/socket.c.diff?r1=1.14.2.1&r2=1.14.2.2)
pgsql/src/backend/postmaster:
pgstat.c (r1.140.2.1 -> r1.140.2.2)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/postmaster/pgstat.c.diff?r1=1.140.2.1&r2=1.140.2.2)
pgsql/src/include/port:
win32.h (r1.63.2.1 -> r1.63.2.2)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/include/port/win32.h.diff?r1=1.63.2.1&r2=1.63.2.2)
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2007-01-26 22:23:50 | pgsql: Modify draft SGML instructions to use DRAFT=Y because recursion |
Previous Message | Tom Lane | 2007-01-26 20:06:52 | pgsql: On Windows, use pgwin32_waitforsinglesocket() instead of select() |