• Tom Lane's avatar
    Clean up the INET-vs-CIDR situation. Get rid of the internal is_cidr flag · 8d8bf127
    Tom Lane authored
    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.
    8d8bf127
pg_proc.h 264 KB