Skip site navigation (1) Skip section navigation (2)

Re: pgsql: Make RADIUS authentication use pg_getaddrinfo_all() to get

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-committers(at)postgresql(dot)org
Subject: Re: pgsql: Make RADIUS authentication use pg_getaddrinfo_all() to get
Date: 2010-02-03 06:22:27
Message-ID: 9837222c1002022222k6c96acf8l5bbaf8d8ef4908ff@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-committers
On Wednesday, February 3, 2010, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> Magnus Hagander <magnus(at)hagander(dot)net> writes:
>> On Wednesday, February 3, 2010, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)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...
>

I'll take a look. I'm off doing training all day so it won't be until
tonight though.

/Magnus

-- 
 Magnus Hagander
 Me: http://www.hagander.net/
 Work: http://www.redpill-linpro.com/

In response to

Responses

pgsql-committers by date

Next:From: Tom LaneDate: 2010-02-03 06:36:16
Subject: pgsql: Forgot to back-patch CLUSTER test fix to 8.4.
Previous:From: Tom LaneDate: 2010-02-03 06:16:17
Subject: Re: pgsql: Make RADIUS authentication use pg_getaddrinfo_all() to get

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group