Tom Lane writes:
> Hm. I don't see any really good reason why host() rejects CIDR input
> in the first place. What's wrong with producing the host address
> that corresponds to extending the CIDR network address with zeroes?
Because it's semantically wrong. It's just as wrong as converting DATE to
TIMESTAMP by setting the time to zero. -- And we actually do this...
--
Peter Eisentraut peter_e(at)gmx(dot)net http://yi.org/peter-e/