Re: 9.5: Can't connect with PGSSLMODE=require on Windows

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: 9.5: Can't connect with PGSSLMODE=require on Windows
Дата
Msg-id 20150928203706.GW295765@alvherre.pgsql
обсуждение исходный текст
Ответ на Re: 9.5: Can't connect with PGSSLMODE=require on Windows  (Asif Naeem <anaeem.it@gmail.com>)
Список pgsql-hackers
Asif Naeem wrote:
> I have spent sometime to investigate the issue, it is reproduciable. In
> case of Windows, when pqsecure_raw_read() function error code
> WSAEWOULDBLOCK (EWOULDBLOCK) when no data queued to be read from the non
> blocking socket there is a need to log retry flag. Related error code can
> be retrieved via Windows WSAGetLastError() instead of errno, preprocessor
> SOCK_ERRNO handle it gracefully.

Hmm, wow.  I think you should also change my_sock_write.

-- 
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Rename withCheckOptions to insertedCheckClauses
Следующее
От: Robert Haas
Дата:
Сообщение: Re: Foreign join pushdown vs EvalPlanQual