Re: pgsql: Make RADIUS authentication use pg_getaddrinfo_all() to get - Mailing list pgsql-committers

From Tom Lane
Subject Re: pgsql: Make RADIUS authentication use pg_getaddrinfo_all() to get
Date
Msg-id 2435.1265177777@sss.pgh.pa.us
Whole thread Raw
In response to Re: pgsql: Make RADIUS authentication use pg_getaddrinfo_all() to get  (Magnus Hagander <magnus@hagander.net>)
Responses Re: pgsql: Make RADIUS authentication use pg_getaddrinfo_all() to get  (Magnus Hagander <magnus@hagander.net>)
List pgsql-committers
Magnus Hagander <magnus@hagander.net> writes:
> On Wednesday, February 3, 2010, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> Perhaps instead of depending on magic constants, you should have the
>> code use what "localhost" resolves as, comparably to pgstat.c.

> Pgstat only talks locally so that's a completely different thing.

Ah, right.

I notice that in libpq/ip.c, we're using a macro IN6_IS_ADDR_UNSPECIFIED()
as a substitute for testing equality to in6addr_any.  I wonder where
that comes from and whether it has a brother for assignment...

            regards, tom lane

pgsql-committers by date:

Previous
From: Magnus Hagander
Date:
Subject: Re: pgsql: Make RADIUS authentication use pg_getaddrinfo_all() to get
Next
From: Magnus Hagander
Date:
Subject: Re: pgsql: Make RADIUS authentication use pg_getaddrinfo_all() to get