{"Entry":{"collection":"func","key":"text","name":"text","aliases":[],"metadata":{"changed_in":[],"changes":[{"descriptions_changed":true,"doc_overhaul":false,"from":"7.3","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"changed","to":"7.4"},{"descriptions_changed":false,"doc_overhaul":true,"from":"12","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"changed","to":"13"}],"content_hash":"b9e246af3499f317d2272a35ceed0bb3f160de461f3b7f8ea54e769d7baf00c2","first_version":"7.1","group":"net","group_label":"Network Address Functions And Operators","groups":["net"],"imported_at":"2026-09-27T17:57:28.690349+08:00","last_version":"20","name":"text","name_key":"text","position":11012,"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":"text ( inet ) → text","signature_count":1,"slug":"text","source_rev":"b7bd9cda","summary":"Returns the unabbreviated IP address and netmask length as text.","summary_zh":""}},"Definition":{"Collection":"func","Key":"text","SourceDatabase":"center","Version":"18","SourceTable":"func","SourceKey":"text","SourceRevision":"b7bd9cda","Facts":{"description":"Returns the unabbreviated IP address and netmask length as text. (This has the same result as an explicit cast to text.)","description_html":"Returns the unabbreviated IP address and netmask length as text. (This has the same result as an explicit cast to \u003ccode class=\"type\"\u003etext\u003c/code\u003e.)","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 unabbreviated IP address and netmask length as text. (This has the same result as an explicit cast to text.)","description_html":"Returns the unabbreviated IP address and netmask length as text. (This has the same result as an explicit cast to \u003ccode class=\"type\"\u003etext\u003c/code\u003e.)","description_zh":"","description_zh_html":"","examples":[{"expr":"text(inet '192.168.1.5')","result":"192.168.1.5/32"}],"html":"\u003ccode class=\"function\"\u003etext\u003c/code\u003e ( \u003ccode class=\"type\"\u003einet\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003etext\u003c/code\u003e","returns":"text","text":"text ( inet ) → text","zh_from":""}],"zh_from":""},"ManualEvidence":{"doc":{"anchor":"CIDR-INET-FUNCTIONS-TABLE","file":"functions-net.html","slug":"18"}},"MeasuredEvidence":{}},"Text":{"Collection":"func","Key":"text","SourceDatabase":"pgweb","Version":"18","Locale":"zh-Hans","Title":"text","Summary":"以文本形式返回未缩写的IP地址和子网掩码长度。（这与显式转换为text的结果相同。）","BodyHTML":"以文本形式返回未缩写的IP地址和子网掩码长度。（这与显式转换为\u003ccode\u003etext\u003c/code\u003e的结果相同。）\u003cpre\u003etext ( inet ) → text\u003c/pre\u003e以文本形式返回未缩写的IP地址和子网掩码长度。（这与显式转换为\u003ccode\u003etext\u003c/code\u003e的结果相同。）","SourceRevision":"ca936764","ContentHash":"3ed8fab0a150fb346c89c1ac8472eb9b04678d5e8694c6ab75861d3af0cffee0","Payload":{"description_zh":"以文本形式返回未缩写的IP地址和子网掩码长度。（这与显式转换为text的结果相同。）","description_zh_html":"以文本形式返回未缩写的IP地址和子网掩码长度。（这与显式转换为\u003ccode class=\"type\"\u003etext\u003c/code\u003e的结果相同。）","signatures":[{"description_zh":"以文本形式返回未缩写的IP地址和子网掩码长度。（这与显式转换为text的结果相同。）","description_zh_html":"以文本形式返回未缩写的IP地址和子网掩码长度。（这与显式转换为\u003ccode class=\"type\"\u003etext\u003c/code\u003e的结果相同。）","returns":"text","text":"text ( 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":"cd6ac8bcd437d001de58d3e66b7d0e73436d61eb3d4ca6d77bff0cf2e0e9a385","Text":"text ( inet ) → text","Returns":"text","Payload":{"description":"Returns the unabbreviated IP address and netmask length as text. (This has the same result as an explicit cast to text.)","description_html":"Returns the unabbreviated IP address and netmask length as text. (This has the same result as an explicit cast to \u003ccode class=\"type\"\u003etext\u003c/code\u003e.)","description_zh":"","description_zh_html":"","examples":[{"expr":"text(inet '192.168.1.5')","result":"192.168.1.5/32"}],"html":"\u003ccode class=\"function\"\u003etext\u003c/code\u003e ( \u003ccode class=\"type\"\u003einet\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003etext\u003c/code\u003e","returns":"text","text":"text ( inet ) → text","zh_from":""}}],"Spellings":null,"SQLState":null,"Evidence":null}
