Re: Patch for Win32 blocking problem - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Patch for Win32 blocking problem
Date
Msg-id 28302.1160590883@sss.pgh.pa.us
Whole thread Raw
In response to Patch for Win32 blocking problem  (Teodor Sigaev <teodor@sigaev.ru>)
Responses Re: Patch for Win32 blocking problem  (Teodor Sigaev <teodor@sigaev.ru>)
List pgsql-hackers
Teodor Sigaev <teodor@sigaev.ru> writes:
> Patch solves the problem with blocking backend in pgwin32_waitforsinglesocket()
> when it tries to send something to stat collector.

Adding the looping in pgwin32_send() seems clearly correct, since there
could be multiple processes trying to send to the collector at the same
time.  I find the proposed patch in pgwin32_waitforsinglesocket to be a
pretty ugly kluge though.  Are you sure it's needed given the other fix?
        regards, tom lane


pgsql-hackers by date:

Previous
From: "Carlos Chacon"
Date:
Subject: Re: Modification to the postgres catalog
Next
From: Tom Lane
Date:
Subject: Re: Modification to the postgres catalog