diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml index 91ab4b12ae..d047d045bd 100644 --- a/doc/src/sgml/func.sgml +++ b/doc/src/sgml/func.sgml @@ -1,5 +1,5 @@ @@ -5998,7 +5998,7 @@ SELECT TIMESTAMP 'now'; >> contains - inet'192.168.1/24' >> inet '192.168.1.5' + inet '192.168.1/24' >> inet '192.168.1.5' >>= @@ -6096,6 +6096,13 @@ SELECT TIMESTAMP 'now'; abbrev(cidr '10.1.0.0/16') 10.1/16 + + family(inet) + integer + extract family of address; 4 for IPv4, + 6 for IPv6 + family('::1') + 6