{"Entry":{"collection":"func","key":"network","name":"network","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":"a9ee405f8a7a5300748a22905b7d8d201f7a26caa3f06695e537b6758ce2f3f9","derived_content_hash":"99ab6bfc14254e35f166d13d9169d7eb7f3c87fa46d1ac1de99a01e4795fda90","first_version":"7.1","group":"net","group_label":"Network Address Functions And Operators","groups":["net"],"imported_at":"2026-09-27T17:57:28.683059+08:00","last_version":"20","name":"network","name_key":"network","position":11010,"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"],"repair_provenance":{"original_source_revision":"wiki-repair-20261023:aea0f40449368c70053d2e28f6933116682e8cc453603f37271f21eea6e06977","receipt_sha256":"5fcd6099b34bf61a9711006bbe94507e4a61b7d8ab9cae1f5b809b43a7778951","repair":"wiki-repair-20261023"},"signature":"network ( inet ) → cidr","signature_count":1,"slug":"network","source_rev":"wiki-repair-20261023:43a4da20b3a181d16e38358dd892b506d64b5678d95cb4c2f4ce6b65c974b42f","summary":"Returns the network part of the address, zeroing out whatever is to the right of the netmask.","summary_zh":""}},"Definition":{"Collection":"func","Key":"network","SourceDatabase":"center","Version":"18","SourceTable":"func","SourceKey":"network","SourceRevision":"wiki-repair-20261023:43a4da20b3a181d16e38358dd892b506d64b5678d95cb4c2f4ce6b65c974b42f","Facts":{"description":"Returns the network part of the address, zeroing out whatever is to the right of the netmask. (This is equivalent to casting the value to cidr.)","description_html":"Returns the network part of the address, zeroing out whatever is to the right of the netmask. (This is equivalent to casting the value to \u003ccode class=\"type\"\u003ecidr\u003c/code\u003e.)","description_zh":"返回地址的网络部分，将子网掩码右边的部分归零。（这相当于将值转换为 cidr。）","description_zh_html":"返回地址的网络部分，将子网掩码右边的部分归零。（这相当于将值转换为 \u003ccode class=\"type\"\u003ecidr\u003c/code\u003e。）","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":"Returns the network part of the address, zeroing out whatever is to the right of the netmask. (This is equivalent to casting the value to cidr.)","description_html":"Returns the network part of the address, zeroing out whatever is to the right of the netmask. (This is equivalent to casting the value to \u003ccode class=\"type\"\u003ecidr\u003c/code\u003e.)","description_zh":"返回地址的网络部分，将子网掩码右边的部分归零。（这相当于将值转换为 cidr。）","description_zh_html":"返回地址的网络部分，将子网掩码右边的部分归零。（这相当于将值转换为 \u003ccode class=\"type\"\u003ecidr\u003c/code\u003e。）","examples":[{"expr":"network(inet '192.168.1.5/24')","result":"192.168.1.0/24"}],"html":"\u003ccode class=\"function\"\u003enetwork\u003c/code\u003e ( \u003ccode class=\"type\"\u003einet\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003ecidr\u003c/code\u003e","returns":"cidr","text":"network ( inet ) → cidr","zh_from":"same-version-pgdoc"}],"translation_provenance":{"inputs":[{"kind":"current-pgdoc-translation","path":"/Users/vonng/pgsty/pgdoc/zh/18/html/functions-net.html","sha256":"f7bc82e79db54043a600f7fd78cd812affe41981686a58e1156921fdd998606d"}],"kind":"same-version-pgdoc","locale":"zh-Hans","source_revision":"b1b500221dbe5437cfca004d6b04d3f6e422765d","version":"18"},"zh_from":"same-version-pgdoc"},"ManualEvidence":{"doc":{"anchor":"CIDR-INET-FUNCTIONS-TABLE","file":"functions-net.html","slug":"18"}},"MeasuredEvidence":{}},"Text":{"Collection":"func","Key":"network","SourceDatabase":"center","Version":"18","Locale":"en","Title":"network","Summary":"Returns the network part of the address, zeroing out whatever is to the right of the netmask. (This is equivalent to casting the value to cidr.)","BodyHTML":"Returns the network part of the address, zeroing out whatever is to the right of the netmask. (This is equivalent to casting the value to \u003ccode\u003ecidr\u003c/code\u003e.)","SourceRevision":"wiki-repair-20261023:43a4da20b3a181d16e38358dd892b506d64b5678d95cb4c2f4ce6b65c974b42f","ContentHash":"bbc8cf3abfa178b0eb4df40af98bda1e7ed7ee288be3d2d3d2e7346caa35519b","Payload":{"description":"Returns the network part of the address, zeroing out whatever is to the right of the netmask. (This is equivalent to casting the value to cidr.)","description_html":"Returns the network part of the address, zeroing out whatever is to the right of the netmask. (This is equivalent to casting the value to \u003ccode class=\"type\"\u003ecidr\u003c/code\u003e.)","signatures":[{"description":"Returns the network part of the address, zeroing out whatever is to the right of the netmask. (This is equivalent to casting the value to cidr.)","description_html":"Returns the network part of the address, zeroing out whatever is to the right of the netmask. (This is equivalent to casting the value to \u003ccode class=\"type\"\u003ecidr\u003c/code\u003e.)","description_zh":"返回地址的网络部分，将子网掩码右边的部分归零。（这相当于将值转换为 cidr。）","description_zh_html":"返回地址的网络部分，将子网掩码右边的部分归零。（这相当于将值转换为 \u003ccode class=\"type\"\u003ecidr\u003c/code\u003e。）","examples":[{"expr":"network(inet '192.168.1.5/24')","result":"192.168.1.0/24"}],"html":"\u003ccode class=\"function\"\u003enetwork\u003c/code\u003e ( \u003ccode class=\"type\"\u003einet\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003ecidr\u003c/code\u003e","returns":"cidr","text":"network ( inet ) → cidr","zh_from":"same-version-pgdoc"}]}},"RequestedLocale":"en","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":"53f2f17ad80360d29645e2d8b497805c56fbf68572daada33825c48374cc4b79","Text":"network ( inet ) → cidr","Returns":"cidr","Payload":{"description":"Returns the network part of the address, zeroing out whatever is to the right of the netmask. (This is equivalent to casting the value to cidr.)","description_html":"Returns the network part of the address, zeroing out whatever is to the right of the netmask. (This is equivalent to casting the value to \u003ccode class=\"type\"\u003ecidr\u003c/code\u003e.)","description_zh":"返回地址的网络部分，将子网掩码右边的部分归零。（这相当于将值转换为 cidr。）","description_zh_html":"返回地址的网络部分，将子网掩码右边的部分归零。（这相当于将值转换为 \u003ccode class=\"type\"\u003ecidr\u003c/code\u003e。）","examples":[{"expr":"network(inet '192.168.1.5/24')","result":"192.168.1.0/24"}],"html":"\u003ccode class=\"function\"\u003enetwork\u003c/code\u003e ( \u003ccode class=\"type\"\u003einet\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003ecidr\u003c/code\u003e","returns":"cidr","text":"network ( inet ) → cidr","zh_from":"same-version-pgdoc"}}],"Spellings":null,"SQLState":null,"Evidence":null}
