Per discussion earlier today, here is a fix that lets ereport() on win32 report socket errors. //Magnus <<win32_socketerror.patch>>
pgsql-patches by date:
Соглашаюсь с условиями обработки персональных данных