Re: host name support in pg_hba.conf - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: host name support in pg_hba.conf
Date
Msg-id 1286904018.23137.1.camel@vanquo.pezone.net
Whole thread Raw
In response to Re: host name support in pg_hba.conf  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: host name support in pg_hba.conf
List pgsql-hackers
On mån, 2010-10-11 at 21:34 +0300, Peter Eisentraut wrote:
> > * Why getnameinfo() in the fallback loop?
>
> I checked through my git history; this was actually a leftover from
> some
> debugging code.  I'll remove it.
>
> > * Slash ('/') after the hostname
> >
> > At the parse_hba_line(), the parsed token which contains either
> > hostname or cidr address is sliced into two parts on the first '/'
> > character, if exist.
> > Then, even if cidr_slash is not NULL, it shall be ignored when
> > top-half of the token is hostname, not numeric address.
>
> OK, I'll fix that.

Hopefully final patch, which addresses the above issues, adds some
documentation enhancements, and the possibility to quote host names (in
case someone wants to have a host named "samehost").

Attachment

pgsql-hackers by date:

Previous
From: "Kevin Grittner"
Date:
Subject: Re: [JDBC] Support for JDBC setQueryTimeout, et al.
Next
From: Peter Eisentraut
Date:
Subject: Re: host name support in pg_hba.conf