Re: psql client does not handle WSAEWOULDBLOCK on Windows

Поиск
Список
Период
Сортировка
От Umar Hayat
Тема Re: psql client does not handle WSAEWOULDBLOCK on Windows
Дата
Msg-id 172287105898.1651441.16829580178609704020.pgcf@coridan.postgresql.org
обсуждение исходный текст
Ответ на psql client does not handle WSAEWOULDBLOCK on Windows  (Ning <ning94803@gmail.com>)
Список pgsql-hackers
I have not reproduce your test scenario, looking at code please see following comments:

If you check the function definition of pqsecure_raw_read() it actually do set errno like bellow

SOCK_ERRNO_SET(result_errno);
where result_errno = SOCK_ERRNO

Means anybody using those function pqsecure_raw_read/write, does not need to take care of portable ERRNO.

Regards
Umar Hayat

The new status of this patch is: Waiting on Author

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