From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Andrew Dunstan <andrew(at)dunslane(dot)net> |
Cc: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, Oliver Jowett <oliver(at)opencloud(dot)com>, Hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: 7.4.3 & 8.0.0beta1 + Solaris 9: default pg_hba.conf breaks |
Date: | 2004-08-18 16:51:41 |
Message-ID: | 1873.1092847901@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-patches |
Andrew Dunstan <andrew(at)dunslane(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | Manfred Spraul | 2004-08-18 16:52:42 | Re: NOT LOGGED options (was Point in Time Recovery ) |
Previous Message | Andrew Dunstan | 2004-08-18 16:51:14 | Re: 7.4.3 & 8.0.0beta1 + Solaris 9: default pg_hba.conf |
From | Date | Subject | |
---|---|---|---|
Next Message | Manfred Spraul | 2004-08-18 16:52:42 | Re: NOT LOGGED options (was Point in Time Recovery ) |
Previous Message | Bruce Momjian | 2004-08-18 16:51:17 | Re: 8.0 Beta 1 // Environment Vars // .pgpass |