{"Entry":{"collection":"func","key":"host","name":"host","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":"78f0c2980e0042434ab356a366f9d4c625dcd1cc8a3e99af462ad73fa37787f0","first_version":"7.1","group":"net","group_label":"Network Address Functions And Operators","groups":["net"],"imported_at":"2026-09-27T17:57:28.672294+08:00","last_version":"20","name":"host","name_key":"host","position":11003,"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":"host ( inet ) → text","signature_count":1,"slug":"host","source_rev":"b7bd9cda","summary":"Returns the IP address as text, ignoring the netmask.","summary_zh":""}},"Definition":{"Collection":"func","Key":"host","SourceDatabase":"center","Version":"18","SourceTable":"func","SourceKey":"host","SourceRevision":"b7bd9cda","Facts":{"description":"Returns the IP address as text, ignoring the netmask.","description_html":"Returns the IP address as text, ignoring the netmask.","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":"Returns the IP address as text, ignoring the netmask.","description_html":"Returns the IP address as text, ignoring the netmask.","description_zh":"","description_zh_html":"","examples":[{"expr":"host(inet '192.168.1.0/24')","result":"192.168.1.0"}],"html":"\u003ccode class=\"function\"\u003ehost\u003c/code\u003e ( \u003ccode class=\"type\"\u003einet\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003etext\u003c/code\u003e","returns":"text","text":"host ( inet ) → text","zh_from":""}],"zh_from":""},"ManualEvidence":{"doc":{"anchor":"CIDR-INET-FUNCTIONS-TABLE","file":"functions-net.html","slug":"18"}},"MeasuredEvidence":{}},"Text":{"Collection":"func","Key":"host","SourceDatabase":"pgweb","Version":"18","Locale":"zh-Hans","Title":"host","Summary":"返回IP地址文本，忽略子网掩码。","BodyHTML":"返回IP地址文本，忽略子网掩码。\u003cpre\u003ehost ( inet ) → text\u003c/pre\u003e返回IP地址文本，忽略子网掩码。","SourceRevision":"ca936764","ContentHash":"2ed7becf914681d912c33359264292c985e750bfc8729217052049fc2b707b51","Payload":{"description_zh":"返回IP地址文本，忽略子网掩码。","description_zh_html":"返回IP地址文本，忽略子网掩码。","signatures":[{"description_zh":"返回IP地址文本，忽略子网掩码。","description_zh_html":"返回IP地址文本，忽略子网掩码。","returns":"text","text":"host ( inet ) → text","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":"86ce0ad34b9a79ef7b52934034ac9e347c9c2e49aceff796bac838387006ba7d","Text":"host ( inet ) → text","Returns":"text","Payload":{"description":"Returns the IP address as text, ignoring the netmask.","description_html":"Returns the IP address as text, ignoring the netmask.","description_zh":"","description_zh_html":"","examples":[{"expr":"host(inet '192.168.1.0/24')","result":"192.168.1.0"}],"html":"\u003ccode class=\"function\"\u003ehost\u003c/code\u003e ( \u003ccode class=\"type\"\u003einet\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003etext\u003c/code\u003e","returns":"text","text":"host ( inet ) → text","zh_from":""}}],"Spellings":null,"SQLState":null,"Evidence":null}
