Clean up the INET-vs-CIDR situation. Get rid of the internal is_cidr flag

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 8d8bf127605d0a87b22bb07e630a075506ca5e1e
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2006-01-26T02:35:51Z
Releases: 8.2.0
Clean up the INET-vs-CIDR situation.  Get rid of the internal is_cidr flag
and rely exclusively on the SQL type system to tell the difference between
the types.  Prevent creation of invalid CIDR values via casting from INET
or set_masklen() --- both of these operations now silently zero any bits
to the right of the netmask.  Remove duplicate CIDR comparison operators,
letting the type rely on the INET operators instead.

Files