{"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","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"],"signature":"inet_same_family ( inet, inet ) → boolean","signature_count":1,"slug":"inet-same-family","source_rev":"2026-09-14T13:14:25.684213+00:00@99e6866c","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":"2026-09-14T13:14:25.684213+00:00@99e6866c","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":"","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":"Tests whether the addresses belong to the same IP family.","description_html":"Tests whether the addresses belong to the same IP family.","description_zh":"","description_zh_html":"","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":""}],"zh_from":""},"ManualEvidence":{"doc":{"anchor":"CIDR-INET-FUNCTIONS-TABLE","file":"functions-net.html","slug":"18"}},"MeasuredEvidence":{}},"Text":{"Collection":"func","Key":"inet-same-family","SourceDatabase":"pgweb","Version":"18","Locale":"zh-Hans","Title":"inet_same_family","Summary":"测试地址是否属于同一IP族。","BodyHTML":"测试地址是否属于同一IP族。\u003cpre\u003einet_same_family ( inet, inet ) → boolean\u003c/pre\u003e测试地址是否属于同一IP族。","SourceRevision":"ca936764","ContentHash":"a083d6a9b302bcc43e6f7c2b5af03a56d9b1b1f10e7aa8d49c908d1378cab0fc","Payload":{"description_zh":"测试地址是否属于同一IP族。","description_zh_html":"测试地址是否属于同一IP族。","signatures":[{"description_zh":"测试地址是否属于同一IP族。","description_zh_html":"测试地址是否属于同一IP族。","returns":"boolean","text":"inet_same_family ( inet, inet ) → boolean","zh_from":"doc"}],"zh_from":"doc"}},"RequestedLocale":"zh-Hans","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":"","description_zh_html":"","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":""}}],"Spellings":null,"SQLState":null,"Evidence":null}
