Why doesn't src/backend/port/win32/socket.c implement bind()?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Why doesn't src/backend/port/win32/socket.c implement bind()?
Дата
Msg-id 4065.1452450340@sss.pgh.pa.us
обсуждение исходный текст
Ответы Re: Why doesn't src/backend/port/win32/socket.c implement bind()?  (Amit Kapila <amit.kapila16@gmail.com>)
Список pgsql-hackers
Some of the Windows buildfarm members occasionally fail like this:

LOG:  could not bind IPv4 socket: No error
HINT:  Is another postmaster already running on port 64470? If not, wait a few seconds and retry.
WARNING:  could not create listen socket for "127.0.0.1"
FATAL:  could not create any TCP/IP sockets

(bowerbird, in particular, has a few recent examples)

I think the reason why we're getting "No error" instead of a useful
strerror report is that socket.c doesn't provide an implementation
of bind() that includes TranslateSocketError().  Why is that?
        regards, tom lane



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

Предыдущее
От: Christian Ullrich
Дата:
Сообщение: Re: BUG #13854: SSPI authentication failure: wrong realm name used
Следующее
От: Tomas Vondra
Дата:
Сообщение: Re: WIP: bloom filter in Hash Joins with batches