↑↓ select↵ open⌫ change scopeOpen full search

PG.CENTER connects PostgreSQL documentation, reference, and ecosystem knowledge. Maintained by Pigsty.

Wiki / Functions

hostmask

Computes the host mask for the address's network.

English manual coverage begins with PostgreSQL 7.1. Source history and runtime observations have their own recorded version boundaries.

Reading PG 18·Select a recorded version

group
net
group label
Network Address Functions And Operators
lang
en
layout
table-new
pages
functions-net.html
prose only
false

Definition PG 18

Computes the host mask for the address's network.

Signatures and overloads

hostmask ( inet ) → inet → inet
Computes the host mask for the address's network.

Compare versions

Source references

Full definition and evidence JSON

Definition sources

center · PostgreSQL 18 · wiki-repair-20261023:4dc7b0d9628307da73aed19daad8a5a10870a78fb5a68ee8a675a56eb25deb7c

Text language: en · wiki-repair-20261023:4dc7b0d9628307da73aed19daad8a5a10870a78fb5a68ee8a675a56eb25deb7c