set_masklen ( inet, integer ) → inet → inetSets the netmask length for an
inet value. The address part does not change.Sets the netmask length for an inet value. The address part does not change.
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
inet value. The address part does not change.set_masklen ( inet, integer ) → inet → inetSets the netmask length for an
inet value. The address part does not change.set_masklen ( cidr, integer ) → cidr → cidrSets the netmask length for a
cidr value. Address bits to the right of the new netmask are set to zero.Full definition and evidence JSON
center · PostgreSQL 18 · wiki-repair-20261023:f593e3f1dcb353f0a36df0e4b089e1772ac7b8f3e08455576f5229012d3d1981
Text language: en · wiki-repair-20261023:f593e3f1dcb353f0a36df0e4b089e1772ac7b8f3e08455576f5229012d3d1981