Improve docuemntation for cidr/inet

Started by Eugen Konkovalmost 9 years ago2 messagesdocs
Jump to latest
#1Eugen Konkov
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

--
Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-docs

#2Peter Eisentraut
peter_e@gmx.net
In reply to: Eugen Konkov (#1)
Re: Improve docuemntation for cidr/inet

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

--
Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-docs