libpq win32-native errno fix

Поиск
Список
Период
Сортировка
От Dmitry Yurtaev
Тема libpq win32-native errno fix
Дата
Msg-id 004701c10eaa$02561670$0107a8c0@SULACO
обсуждение исходный текст
Ответы Re: libpq win32-native errno fix  (Bruce Momjian <pgman@candle.pha.pa.us>)
Re: libpq win32-native errno fix  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-patches
i've spotted a following problem using DBD::Pg under win32. winsock
functions do not set errno, so 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Clear out the reminants of EXTEND INDEX
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: libpq win32-native errno fix