Re: BUG #6494: Listening to * fails for IP V6

Поиск
Список
Период
Сортировка
От Curd Reinert
Тема Re: BUG #6494: Listening to * fails for IP V6
Дата
Msg-id OF95C01BF0.9B3D02DE-ONC12579B4.0031CA4F-C12579B4.003C7451@ppi.de
обсуждение исходный текст
Ответ на Re: BUG #6494: Listening to * fails for IP V6  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
pgsql-bugs-owner@postgresql.org schrieb am 29.02.2012 17:02:56:
> Curd Reinert <Curd.Reinert@ppi.de> writes:
> > The trouble is that under AIX, once you have bound an IP V4 socket to
a
> > port, it seems you can't bind a IP V6 socket to the same port. The
other
> > way round works. And AIX seems to return addrinfo with IP V4 addresses
in
> > front.
> Seems like that is a bug to file with IBM.
I agree. I will try to narrow it down to a simple example and send it to
IBM.

> code uglification,
I agree with that one, too.

> Can you work around this with a suitable setting of listen_addresses?
> That is, explicitly specify the V6 and then V4 addresses there?
Not really. Postgres is runnning at our customers sites, we don't know how
there networks are configured, and we don't know if IP addresses may
change. All we could do is describe the problem as a known bug when using
AIX, IPV6 and postgres together and explain the workaround.

Many thanks,

Curd

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

Предыдущее
От: "k/a"
Дата:
Сообщение: Re: BUG #6498: with recursive / union all
Следующее
От: thomas.pasch@nuclos.de
Дата:
Сообщение: BUG #6500: Installer does not honour --serverport