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

Re: pg_hba.conf and Solaris

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: (view raw, whole thread or download thread mbox)
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 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
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.



In response to

pgsql-hackers by date

Next:From: Gaetano MendolaDate: 2004-08-21 09:45:53
Subject: Re: postgres uptime
Previous:From: Neil ConwayDate: 2004-08-21 06:00:05
Subject: Re: 8.0 Open Items

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