mirror of
				https://github.com/postgres/postgres.git
				synced 2025-11-03 09:13:20 +03:00 
			
		
		
		
	Document the family() function (added during the 7.4 dev cycle but not
documented), and fix a typo.
This commit is contained in:
		@@ -1,5 +1,5 @@
 | 
				
			|||||||
<!--
 | 
					<!--
 | 
				
			||||||
$PostgreSQL: pgsql/doc/src/sgml/func.sgml,v 1.186 2004/02/05 22:54:36 joe Exp $
 | 
					$PostgreSQL: pgsql/doc/src/sgml/func.sgml,v 1.187 2004/02/22 04:14:06 neilc Exp $
 | 
				
			||||||
PostgreSQL documentation
 | 
					PostgreSQL documentation
 | 
				
			||||||
-->
 | 
					-->
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -6096,6 +6096,13 @@ SELECT TIMESTAMP 'now';
 | 
				
			|||||||
	<entry><literal>abbrev(cidr '10.1.0.0/16')</literal></entry>
 | 
						<entry><literal>abbrev(cidr '10.1.0.0/16')</literal></entry>
 | 
				
			||||||
	<entry><literal>10.1/16</literal></entry>
 | 
						<entry><literal>10.1/16</literal></entry>
 | 
				
			||||||
       </row>
 | 
					       </row>
 | 
				
			||||||
 | 
					       <row>
 | 
				
			||||||
 | 
					    <entry><literal><function>family</function>(<type>inet</type>)</literal></entry>
 | 
				
			||||||
 | 
					    <entry><type>integer</type></entry>
 | 
				
			||||||
 | 
					    <entry>extract family of address; <literal>4</literal> for IPv4,
 | 
				
			||||||
 | 
					    <literal>6</literal> for IPv6</entry>
 | 
				
			||||||
 | 
					    <entry><literal>family('::1')</literal></entry>
 | 
				
			||||||
 | 
					    <entry><literal>6</literal></entry>
 | 
				
			||||||
      </tbody>
 | 
					      </tbody>
 | 
				
			||||||
     </tgroup>
 | 
					     </tgroup>
 | 
				
			||||||
    </table>
 | 
					    </table>
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user