Re: INET/CIDR types
| От | darcy@druid.net (D'Arcy J.M. Cain) |
|---|---|
| Тема | Re: INET/CIDR types |
| Дата | |
| Msg-id | m13GpE4-000AX0C@druid.net обсуждение исходный текст |
| Ответ на | RE: INET/CIDR types ("Larry Rosenman" <ler@lerctr.org>) |
| Ответы |
RE: INET/CIDR types
|
| Список | pgsql-hackers |
Thus spake Larry Rosenman
> What RFC says you can't print all 4 octets of a CIDR Netnumber?
Can't recall. It was Paul Vixie who made the claim and since he was
probably the one who wrote it I tend to believe him.
In fact it may be that it suggested rather than required but someone
would have to dig out the RFC before we considered changing it I think.
> Why does network(cidr) return the whole cidr output just like
> select cidr?
Yah, it's redundant. "network(cidr)" is just a long way to say "cidr."
The only reason it is there is because of the way the code was written
for the two types. Not having it would have required a special test to
look for it and technically it is correct so we didn't bother.
--
D'Arcy J.M. Cain <darcy@{druid|vex}.net> | Democracy is three wolves
http://www.druid.net/darcy/ | and a sheep voting on
+1 416 425 1212 (DoD#0082) (eNTP) | what's for dinner.
В списке pgsql-hackers по дате отправления: