Re: Bugs in our Windows socket code

Поиск
Список
Период
Сортировка
От james
Тема Re: Bugs in our Windows socket code
Дата
Msg-id 4FB09DCC.5010404@mansionfamily.plus.com
обсуждение исходный текст
Ответ на Bugs in our Windows socket code  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
> That is, if you request FD_WRITE events for a pre-existing socket with
> WSAEventSelect, you will not get one until the outbound network buffer has
> been filled and then has partially emptied.  (This is incredibly broken,
> but Microsoft evidently has no intention of fixing it.)

I think you should distinguish between 'broken' and 'not what I am used 
to'.  Microsoft have always had an edge triggered delivery here, rather 
than the level triggered delivery on BSD.  But WinSock is not BSD 
sockets.  If you want to remember what the state is, associate a flag 
with the socket.  Microsoft are very good at retaining compatibility, 
'fixing it' in your terms would be crass breakage.



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Prakash Itnal
Дата:
Сообщение: ERROR: catalog is missing 2 attribute(s) for relid 16584
Следующее
От: Simon Riggs
Дата:
Сообщение: Re: Why do we still have commit_delay and commit_siblings?