Re: libpq win32-native errno fix

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: libpq win32-native errno fix
Дата
Msg-id 200107201746.f6KHkA627595@candle.pha.pa.us
обсуждение исходный текст
Ответ на libpq win32-native errno fix  ("Dmitry Yurtaev" <dmitry@channel4.ru>)
Список pgsql-patches
Thanks.  Patch applied.  I am waiting for another patch from Darko
Prenosil to apply in addition to yours.  This should fix our Win32
problems.


> 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
>
>

[ Attachment, skipping... ]

>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
>     (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Re: [JDBC] [PATCH] Cleanup of JDBC character encoding
Следующее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: New EXPLAIN ANALYZE statement