Re: 7.4.3 & 8.0.0beta1 + Solaris 9: default pg_hba.conf - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: 7.4.3 & 8.0.0beta1 + Solaris 9: default pg_hba.conf
Date
Msg-id 41238902.1070807@dunslane.net
Whole thread Raw
In response to Re: 7.4.3 & 8.0.0beta1 + Solaris 9: default pg_hba.conf breaks  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-hackers

Bruce Momjian wrote:

>
>
>Uh, we are passing 255.255.255.255 to getaddrinfo()?  Why would we do that?
>  
>

Any non-CIDR netmask is passed to getaddrinfo to turn it into a binary 
mask. see src/backend/libpq/hba.c For CIDR masks we make the binary 
version ourselves.

cheers

andrew


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: 7.4.3 & 8.0.0beta1 + Solaris 9: default pg_hba.conf breaks
Next
From: Tom Lane
Date:
Subject: Re: 8.0 libpq: missing get_home_path()