Re: pg_hba.conf: samehost and samenet

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: pg_hba.conf: samehost and samenet
Дата
Msg-id 20090825190103.GI12604@alvh.no-ip.org
обсуждение исходный текст
Ответ на pg_hba.conf: samehost and samenet  (Stef Walter <stef-list@memberwebs.com>)
Ответы Re: pg_hba.conf: samehost and samenet
Список pgsql-hackers
Stef Walter wrote:
> Magnus Hagander wrote:

> > and not just use SIOCGIFCONF for all Unixen?
> 
> I do know that using SIOCGIFCONF on AIX comes with strange wrinkles and
> variable length data structures etc... getifaddrs() on AIX is a far more
> maintainable interface.

Clearly the getifaddrs code looks nicer.  How can we distinguish the
SIOCGIFCONF implementations that have wrinkles from those that don't?
Is there some autoconf macro?

Something to keep in mind -- my getifaddrs(3) manpage says that on BSD
it can return addresses that have ifa_addr set to NULL, which your code
doesn't seem to check.

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support


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

Предыдущее
От: Pavel Stehule
Дата:
Сообщение: Re: SET syntax in INSERT
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: SET syntax in INSERT