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/
In response to
pgsql-hackers by date
|Next:||From: Peter Eisentraut||Date: 2000-10-28 12:21:06|
|Subject: Re: Second proposal: what to do about INET/CIDR |
|Previous:||From: Razvan Radu||Date: 2000-10-28 10:55:56|
|Subject: rule on insert|