Add hostmask() function:

Bruce Momjian <bruce@momjian.us>

Commit: e02f818311d845781da2d03d6c5090346cdd02bc
Author: Bruce Momjian <bruce@momjian.us>
Date: 2003-03-21T21:54:29Z
Releases: 7.4.1
Add hostmask() function:

+       <entry><function>hostmask</function>(<type>inet</type>)</entry>
+       <entry><type>inet</type></entry>
+       <entry>construct hostmask for network</entry>
+       <entry><literal>hostmask('192.168.23.20/30')</literal></entry>
+       <entry><literal>0.0.0.3</literal></entry>

Greg Wickham

Files

PathChange+/−
doc/src/sgml/func.sgml modified +8 −1
src/backend/utils/adt/network.c modified +41 −1
src/include/catalog/pg_proc.h modified +3 −1