Re: Summary: what to do about INET/CIDR

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Summary: what to do about INET/CIDR
Дата
Msg-id 2798.972677648@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Summary: what to do about INET/CIDR  (Alex Pilosov <alex@pilosoft.com>)
Ответы Re: Summary: what to do about INET/CIDR
Re: Summary: what to do about INET/CIDR
Список pgsql-hackers
Alex Pilosov <alex@pilosoft.com> writes:
> Also, I agree with Larry that cidr _must_ be printed with 4 octets in
> them, whether they are 0 or not. (i.e. it should print 207.158.72.0/24)

> This is the standard way of specifying addresses in all network equipment.
> RFC specifies that, just the library that we use doesn't (yes, it is from
> Vixie, but it doesn't make it RFC-compliant)

Somehow, I am more inclined to believe Vixie's opinion on this than
either yours or Larry's ;-)

If you think there is an RFC that demands the above behavior and not
what Vixie recommended to us, let's see chapter and verse.

FWIW, the direction we seem to be converging in is that INET will always
print all four octets.  Maybe the answer for you is to use INET, rather
than to try to persuade us that you understand CIDR notation better than
Vixie does...
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Lamar Owen
Дата:
Сообщение: Re:RPM dependencies (Was: 7.0 vs. 7.1 (was: latest version?))
Следующее
От: Larry Rosenman
Дата:
Сообщение: Re: Summary: what to do about INET/CIDR