Обсуждение: [DOCS] Improve docuemntation for cidr/inet

Поиск
Список
Период
Сортировка

[DOCS] Improve docuemntation for cidr/inet

От
kes-kes@yandex.ru
Дата:
The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/9.6/static/datatype-net-types.html
Description:

>The essential difference between inet and cidr data types is that inet
accepts values with nonzero bits to the right of the netmask, whereas cidr
does not.

May you please provide example to see the difference visually. I do not
understand that sentence completely

Re: [DOCS] Improve docuemntation for cidr/inet

От
Peter Eisentraut
Дата:
On 4/22/17 04:19, kes-kes@yandex.ru wrote:
> The following documentation comment has been logged on the website:
>
> Page: https://www.postgresql.org/docs/9.6/static/datatype-net-types.html
> Description:
>
> >The essential difference between inet and cidr data types is that inet
> accepts values with nonzero bits to the right of the netmask, whereas cidr
> does not.
>
> May you please provide example to see the difference visually. I do not
> understand that sentence completely

I have added an example to the version 10 documentation.

--
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services