Re: Stats collector frozen? - Mailing list pgsql-general

From Teodor Sigaev
Subject Re: Stats collector frozen?
Date
Msg-id 45B9D3B4.40802@sigaev.ru
Whole thread Raw
In response to Re: Stats collector frozen?  (Magnus Hagander <magnus@hagander.net>)
Responses Re: Stats collector frozen?
List pgsql-general
> Apparantly there is a bug lurking somewhere in pgwin32_select(). Because
> if I put a #undef select right before the select in pgstat.c, the
> regression tests pass.

May be, problem is related to fixed bug in pgwin32_waitforsinglesocket() ?
WaitForMultipleObjectsEx might sleep indefinitely while waiting socket to write,
so, may be there is symmetrical problem with read? Or pgwin32_select() is used
for waiting write too?



--
Teodor Sigaev                                   E-mail: teodor@sigaev.ru
                                                    WWW: http://www.sigaev.ru/

pgsql-general by date:

Previous
From: Magnus Hagander
Date:
Subject: Re: Stats collector frozen?
Next
From: "Joris Dobbelsteen"
Date:
Subject: Re: Duplicate key violation