Re: 7.4.3 & 8.0.0beta1 + Solaris 9: default pg_hba.conf breaks

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: 7.4.3 & 8.0.0beta1 + Solaris 9: default pg_hba.conf breaks
Дата
Msg-id 1873.1092847901@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: 7.4.3 & 8.0.0beta1 + Solaris 9: default pg_hba.conf  (Andrew Dunstan <andrew@dunslane.net>)
Ответы Re: 7.4.3 & 8.0.0beta1 + Solaris 9: default pg_hba.conf  (Andrew Dunstan <andrew@dunslane.net>)
Список pgsql-hackers
Andrew Dunstan <andrew@dunslane.net> writes:
>> Seems unlikely.  I suppose you could argue that we shouldn't be using
>> getaddrinfo on the netmask field at all; there's certainly not any value
>> in doing a DNS lookup on it, for instance.  Maybe we should go back to
>> using plain ol' inet_aton for it?  (Nah, won't handle IPv6...)

> We could do it if we tested the addr.ai_family first, and only did it in 
> the IPv4 case. I agree calling getaddrinfo is overkill for masks.

Huh?  The reason we're using getaddrinfo in the first place is we don't
*know* whether we've got an IPv4 or IPv6 string ...
        regards, tom lane


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

Предыдущее
От: Manfred Spraul
Дата:
Сообщение: Re: NOT LOGGED options (was Point in Time Recovery )
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: 7.4.3 & 8.0.0beta1 + Solaris 9: default pg_hba.conf