From: | "Andrew Dunstan" <andrew(at)dunslane(dot)net> |
---|---|
To: | <pgman(at)candle(dot)pha(dot)pa(dot)us> |
Cc: | <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: pg_hba.conf and Solaris |
Date: | 2004-08-21 08:23:19 |
Message-ID: | 2463.24.211.141.25.1093076599.squirrel@www.dunslane.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Bruce Momjian said:
> I didn't like the Solaris bug mention in pg_hba.conf. It seemed like
> the wrong place:
>
> + # Note: On some Solaris systems, an IP-MASK of 255.255.255.255 is
> known not to work. + # The corresponding CIDR-MASK of /32 does work.
>
> I have removed it. Should we put something in the docs instead, or add
> some code to emit a log message if netmask is used on Solaris? Is
> anyone going to use netmask anymore now that the sample has /32?
>
Put something in the docs instead, if you want. Note that netmask apparently
does work in the general case - it is only this specific netmask that does
not.
If we're going to write code for it, it seems more sensible to make it work
than to emit a warning, either by using inet_aton as previuosly discussed,
or just testing for that exact mask and calling SockAddr_cidr_mask instead
of getaddrinfo_all.
cheers
andrew
From | Date | Subject | |
---|---|---|---|
Next Message | Gaetano Mendola | 2004-08-21 09:45:53 | Re: postgres uptime |
Previous Message | Neil Conway | 2004-08-21 06:00:05 | Re: 8.0 Open Items |