Re: pg_hba.conf and Solaris

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: pg_hba.conf and Solaris
Дата
Msg-id 2463.24.211.141.25.1093076599.squirrel@www.dunslane.net
обсуждение исходный текст
Ответ на pg_hba.conf and Solaris  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-hackers
Bruce Momjian said:
> I didn't like the Solaris bug mention in pg_hba.conf.  It seemed like
> the wrong place:
>
> + # Note: On some Solaris systems, an IP-MASK of 255.255.255.255 is
> known not to work. + # The corresponding CIDR-MASK of /32 does work.
>
> I have removed it.  Should we put something in the docs instead, or add
> some code to emit a log message if netmask is used on Solaris?  Is
> anyone going to use netmask anymore now that the sample has /32?
>

Put something in the docs instead, if you want. Note that netmask apparently
does work in the general case - it is only this specific netmask that does
not.
If we're going to write code for it, it seems more sensible to make it work
than to emit a warning, either by using inet_aton as previuosly discussed,
or just testing for that exact mask and calling SockAddr_cidr_mask instead
of getaddrinfo_all.

cheers

andrew





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

Предыдущее
От: Neil Conway
Дата:
Сообщение: Re: 8.0 Open Items
Следующее
От: Gaetano Mendola
Дата:
Сообщение: Re: postgres uptime