projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa65c8c
)
doc: Add example for inet vs cidr difference
author
Peter Eisentraut
<peter_e@gmx.net>
Fri, 11 Aug 2017 20:40:56 +0000
(16:40 -0400)
committer
Peter Eisentraut
<peter_e@gmx.net>
Fri, 11 Aug 2017 20:40:56 +0000
(16:40 -0400)
Reported-by: kes-kes@yandex.ru
doc/src/sgml/datatype.sgml
patch
|
blob
|
blame
|
history
diff --git
a/doc/src/sgml/datatype.sgml
b/doc/src/sgml/datatype.sgml
index af5daef7ab2fb4142d4bfcf5ac957b2711bab1f5..5f881a0b74bac88a3beb27363e892fab1b2e96b0 100644
(file)
--- a/
doc/src/sgml/datatype.sgml
+++ b/
doc/src/sgml/datatype.sgml
@@
-3623,7
+3623,9
@@
SELECT person.name, holidays.num_weeks FROM person, holidays
<para>
The essential difference between <type>inet</type> and <type>cidr</type>
data types is that <type>inet</type> accepts values with nonzero bits to
- the right of the netmask, whereas <type>cidr</type> does not.
+ the right of the netmask, whereas <type>cidr</type> does not. For
+ example, <literal>192.168.0.1/24</literal> is valid for <type>inet</type>
+ but not for <type>cidr</type>.
</para>
<tip>