{"Entry":{"collection":"func","key":"netmask","name":"netmask","aliases":[],"metadata":{"changed_in":[],"changes":[{"descriptions_changed":false,"doc_overhaul":true,"from":"12","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"changed","to":"13"}],"content_hash":"0c674066ba00a8e974518ecf7db34ceabe910c9537052f9f784030529856e146","first_version":"7.1","group":"net","group_label":"Network Address Functions And Operators","groups":["net"],"imported_at":"2026-09-27T17:57:28.680413+08:00","last_version":"20","name":"netmask","name_key":"netmask","position":11009,"present_in":["7.1","7.2","7.3","7.4","8.0","8.1","8.2","8.3","8.4","9.0","9.1","9.2","9.3","9.4","9.5","9.6","10","11","12","13","14","15","16","17","18","19","20"],"signature":"netmask ( inet ) → inet","signature_count":1,"slug":"netmask","source_rev":"b7bd9cda","summary":"Computes the network mask for the address's network.","summary_zh":""}},"Definition":{"Collection":"func","Key":"netmask","SourceDatabase":"center","Version":"18","SourceTable":"func","SourceKey":"netmask","SourceRevision":"b7bd9cda","Facts":{"description":"Computes the network mask for the address's network.","description_html":"Computes the network mask for the address's network.","description_zh":"","description_zh_html":"","doc":{"anchor":"CIDR-INET-FUNCTIONS-TABLE","file":"functions-net.html","slug":"18"},"group":"net","group_label":"Network Address Functions And Operators","lang":"en","layout":"table-new","pages":["functions-net.html"],"prose_only":false,"signatures":[{"description":"Computes the network mask for the address's network.","description_html":"Computes the network mask for the address's network.","description_zh":"","description_zh_html":"","examples":[{"expr":"netmask(inet '192.168.1.5/24')","result":"255.255.255.0"}],"html":"\u003ccode class=\"function\"\u003enetmask\u003c/code\u003e ( \u003ccode class=\"type\"\u003einet\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003einet\u003c/code\u003e","returns":"inet","text":"netmask ( inet ) → inet","zh_from":""}],"zh_from":""},"ManualEvidence":{"doc":{"anchor":"CIDR-INET-FUNCTIONS-TABLE","file":"functions-net.html","slug":"18"}},"MeasuredEvidence":{}},"Text":{"Collection":"func","Key":"netmask","SourceDatabase":"pgweb","Version":"18","Locale":"zh-Hans","Title":"netmask","Summary":"为地址的网络计算网络掩码。","BodyHTML":"为地址的网络计算网络掩码。\u003cpre\u003enetmask ( inet ) → inet\u003c/pre\u003e为地址的网络计算网络掩码。","SourceRevision":"ca936764","ContentHash":"eb9f2dcdf193f049b237abcc52f89dc0f368893ff202bff9f18d35ac06a1ba2d","Payload":{"description_zh":"为地址的网络计算网络掩码。","description_zh_html":"为地址的网络计算网络掩码。","signatures":[{"description_zh":"为地址的网络计算网络掩码。","description_zh_html":"为地址的网络计算网络掩码。","returns":"inet","text":"netmask ( inet ) → inet","zh_from":"doc"}],"zh_from":"doc"}},"RequestedLocale":"zh-Hans","Fallback":false,"Versions":["10","11","12","13","14","15","16","17","18","19","20","7.1","7.2","7.3","7.4","8.0","8.1","8.2","8.3","8.4","9.0","9.1","9.2","9.3","9.4","9.5","9.6"],"Locales":["en","zh-Hans"],"Signatures":[{"Version":"18","Ordinal":0,"Hash":"cad6fc036ca3d1c6ae0598ea20bd9dc888eb118a0e13a48ef42ae62eacd75f98","Text":"netmask ( inet ) → inet","Returns":"inet","Payload":{"description":"Computes the network mask for the address's network.","description_html":"Computes the network mask for the address's network.","description_zh":"","description_zh_html":"","examples":[{"expr":"netmask(inet '192.168.1.5/24')","result":"255.255.255.0"}],"html":"\u003ccode class=\"function\"\u003enetmask\u003c/code\u003e ( \u003ccode class=\"type\"\u003einet\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003einet\u003c/code\u003e","returns":"inet","text":"netmask ( inet ) → inet","zh_from":""}}],"Spellings":null,"SQLState":null,"Evidence":null}
