Re: Occupied port warning

Поиск
Список
Период
Сортировка
От Abhijit Menon-Sen
Тема Re: Occupied port warning
Дата
Msg-id 20050628134042.GA27277@penne.toroid.org
обсуждение исходный текст
Ответ на Re: Occupied port warning  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
At 2005-06-28 15:14:29 +0200, peter_e@gmx.net wrote:
>
> I recall that it had something to do with IPv6, but I'm not sure.

Under Linux, if you bind to AF_INET6/::0, a subsequent bind to AF_INET/0
will fail, but the IPv4 address is also bound by the first call, and the
program will accept IPv4 connections anyway (BSD behaves differently).

Maybe that had something to do with it? I remember I had to add code to
my program to allow that second bind to fail without complaint, and now
my code also exits only if it can't bind anything at all.

(For what it's worth, I don't think this behaviour is such a big deal.)

-- ams


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

Предыдущее
От: Pavel Stehule
Дата:
Сообщение: Re: Implementing SQL/PSM for PG 8.2 - debugger
Следующее
От: Dmitry Karasik
Дата:
Сообщение: bug: LC_CTYPE=en_US.UTF-8 confuses query planner