Skip to content

Commit ee844bb

Browse files
committed
doc: Add example for inet vs cidr difference
Reported-by: kes-kes@yandex.ru
1 parent fa65c8c commit ee844bb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

doc/src/sgml/datatype.sgml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3623,7 +3623,9 @@ SELECT person.name, holidays.num_weeks FROM person, holidays
36233623
<para>
36243624
The essential difference between <type>inet</type> and <type>cidr</type>
36253625
data types is that <type>inet</type> accepts values with nonzero bits to
3626-
the right of the netmask, whereas <type>cidr</type> does not.
3626+
the right of the netmask, whereas <type>cidr</type> does not. For
3627+
example, <literal>192.168.0.1/24</literal> is valid for <type>inet</type>
3628+
but not for <type>cidr</type>.
36273629
</para>
36283630

36293631
<tip>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy