Re: pg_hba.conf: samehost and samenet [REVIEW] - Mailing list pgsql-hackers

From Tom Lane
Subject Re: pg_hba.conf: samehost and samenet [REVIEW]
Date
Msg-id 10477.1253751913@sss.pgh.pa.us
Whole thread Raw
In response to Re: pg_hba.conf: samehost and samenet [REVIEW]  (Stef Walter <stef-list@memberwebs.com>)
List pgsql-hackers
Stef Walter <stef-list@memberwebs.com> writes:
> But if you like I can add additional defensive checks in the code to
> ignore those obviously invalid netmasks like /0. Basically the OS would
> be giving postgres bad information. Does postgres generally try to guard
> against this? I'll follow the convention of the project.

I think we'd only bother with that if it was a known failure mode
due to platform bugs or common misconfigurations.
        regards, tom lane


pgsql-hackers by date:

Previous
From: "David E. Wheeler"
Date:
Subject: Re: latest hstore patch
Next
From: Andrew Gierth
Date:
Subject: Re: latest hstore patch