{"Entry":{"collection":"func","key":"inet-same-family","name":"inet_same_family","aliases":[],"metadata":{"changed_in":[],"changes":[{"descriptions_changed":false,"doc_overhaul":false,"from":"9.4","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"added","to":"9.5"},{"descriptions_changed":false,"doc_overhaul":true,"from":"12","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"changed","to":"13"}],"content_hash":"ae5604484f77ea828671436b878642711597da5eecc620bc69e8c648149ea525","derived_content_hash":"2aad6dddde28f9da47be7ec9a98aa72a0bfa08eea7e0bc5094baf655eabb5f3f","first_version":"9.5","group":"net","group_label":"Network Address Functions And Operators","groups":["net"],"imported_at":"2026-09-14T21:49:48.731858+08:00","last_version":"20","name":"inet_same_family","name_key":"inet_same_family","position":11006,"present_in":["9.5","9.6","10","11","12","13","14","15","16","17","18","19","20"],"repair_provenance":{"original_source_revision":"2026-09-14T13:14:25.684213+00:00@99e6866c","receipt_sha256":"1ac2b01f4fe3dba87c01b18f51b40fecd047a5163c8848364d233e8239870be7","repair":"wiki-repair-20261023"},"signature":"inet_same_family ( inet, inet ) → boolean","signature_count":1,"slug":"inet-same-family","source_rev":"wiki-repair-20261023:02e8310aa27f297a8fdbcf633926b94d80c39c3e427235d2cedd8293312ab1df","summary":"Tests whether the addresses belong to the same IP family.","summary_zh":""}},"Definition":{"Collection":"func","Key":"inet-same-family","SourceDatabase":"center","Version":"18","SourceTable":"func","SourceKey":"inet-same-family","SourceRevision":"wiki-repair-20261023:02e8310aa27f297a8fdbcf633926b94d80c39c3e427235d2cedd8293312ab1df","Facts":{"description":"Tests whether the addresses belong to the same IP family.","description_html":"Tests whether the addresses belong to the same IP family.","description_zh":"测试地址是否属于同一 IP 族。","description_zh_html":"测试地址是否属于同一 IP 族。","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":"Tests whether the addresses belong to the same IP family.","description_html":"Tests whether the addresses belong to the same IP family.","description_zh":"测试地址是否属于同一 IP 族。","description_zh_html":"测试地址是否属于同一 IP 族。","examples":[{"expr":"inet_same_family(inet '192.168.1.5/24', inet '::1')","result":"f"}],"html":"\u003ccode class=\"function\"\u003einet_same_family\u003c/code\u003e ( \u003ccode class=\"type\"\u003einet\u003c/code\u003e, \u003ccode class=\"type\"\u003einet\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003eboolean\u003c/code\u003e","returns":"boolean","text":"inet_same_family ( inet, inet ) → boolean","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":"inet-same-family","SourceDatabase":"center","Version":"18","Locale":"en","Title":"inet_same_family","Summary":"Tests whether the addresses belong to the same IP family.","BodyHTML":"Tests whether the addresses belong to the same IP family.","SourceRevision":"wiki-repair-20261023:02e8310aa27f297a8fdbcf633926b94d80c39c3e427235d2cedd8293312ab1df","ContentHash":"0c296009da16075de9629e1d8cf034d0666826abad311f38849ac064ce6f47e8","Payload":{"description":"Tests whether the addresses belong to the same IP family.","description_html":"Tests whether the addresses belong to the same IP family.","signatures":[{"description":"Tests whether the addresses belong to the same IP family.","description_html":"Tests whether the addresses belong to the same IP family.","description_zh":"测试地址是否属于同一 IP 族。","description_zh_html":"测试地址是否属于同一 IP 族。","examples":[{"expr":"inet_same_family(inet '192.168.1.5/24', inet '::1')","result":"f"}],"html":"\u003ccode class=\"function\"\u003einet_same_family\u003c/code\u003e ( \u003ccode class=\"type\"\u003einet\u003c/code\u003e, \u003ccode class=\"type\"\u003einet\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003eboolean\u003c/code\u003e","returns":"boolean","text":"inet_same_family ( inet, inet ) → boolean","zh_from":"same-version-pgdoc"}]}},"RequestedLocale":"en","Fallback":false,"Versions":["10","11","12","13","14","15","16","17","18","19","20","9.5","9.6"],"Locales":["en","zh-Hans"],"Signatures":[{"Version":"18","Ordinal":0,"Hash":"b591fef117253a6c9949d899af85de16cddd5f23660e4eed3fce7616509a13aa","Text":"inet_same_family ( inet, inet ) → boolean","Returns":"boolean","Payload":{"description":"Tests whether the addresses belong to the same IP family.","description_html":"Tests whether the addresses belong to the same IP family.","description_zh":"测试地址是否属于同一 IP 族。","description_zh_html":"测试地址是否属于同一 IP 族。","examples":[{"expr":"inet_same_family(inet '192.168.1.5/24', inet '::1')","result":"f"}],"html":"\u003ccode class=\"function\"\u003einet_same_family\u003c/code\u003e ( \u003ccode class=\"type\"\u003einet\u003c/code\u003e, \u003ccode class=\"type\"\u003einet\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003eboolean\u003c/code\u003e","returns":"boolean","text":"inet_same_family ( inet, inet ) → boolean","zh_from":"same-version-pgdoc"}}],"Spellings":null,"SQLState":null,"Evidence":null}
