libpq win32-native errno fix

Поиск
Список
Период
Сортировка
От Dmitry Yurtaev
Тема libpq win32-native errno fix
Дата
Msg-id 003801c10de7$e0caad30$0107a8c0@SULACO
обсуждение исходный текст
Список pgsql-patches
i've spotted a following problem using DBD::Pg under win32. winsock
functions do not set errno, so in some normal conditions are treated as
fatal errors. e.g. fetching large tuples fails, as at some point recv()
returns EWOULDBLOCK. here's a patch, which replaces errno with
WSAGetLastError(). i've tried to to affect non-win32 code.

/Dmitry

Вложения

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

Предыдущее
От: "Neil Conway"
Дата:
Сообщение: Re: [GENERAL] 2 gig file size limit
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Clear out the reminants of EXTEND INDEX