{"Entry":{"collection":"func","key":"upper","name":"upper","aliases":[],"metadata":{"changed_in":["9.2","14"],"changes":[{"descriptions_changed":true,"doc_overhaul":false,"from":"7.4","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"changed","to":"8.0"},{"descriptions_changed":true,"doc_overhaul":false,"from":"8.4","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"changed","to":"9.0"},{"descriptions_changed":false,"doc_overhaul":false,"from":"9.1","group_changed":null,"signatures":{"added":["upper ( anyrange ) → range's element type"],"removed":[]},"status":"changed","to":"9.2"},{"descriptions_changed":false,"doc_overhaul":true,"from":"12","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"changed","to":"13"},{"descriptions_changed":false,"doc_overhaul":false,"from":"13","group_changed":null,"signatures":{"added":["upper ( anymultirange ) → anyelement"],"removed":[]},"status":"changed","to":"14"}],"content_hash":"f529f39a2897da6260deab76549974404178b4a20a4a67893e6fb76ba02eb341","first_version":"7.1","group":"string","group_label":"String Functions And Operators","groups":["string","range"],"imported_at":"2026-09-27T17:57:28.460139+08:00","last_version":"20","name":"upper","name_key":"upper","position":3057,"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":"upper ( text ) → text","signature_count":3,"slug":"upper","source_rev":"b7bd9cda","summary":"Converts the string to all upper case, according to the rules of the database's locale.","summary_zh":""}},"Definition":{"Collection":"func","Key":"upper","SourceDatabase":"center","Version":"18","SourceTable":"func","SourceKey":"upper","SourceRevision":"b7bd9cda","Facts":{"description":"Converts the string to all upper case, according to the rules of the database's locale.","description_html":"Converts the string to all upper case, according to the rules of the database's locale.","description_zh":"","description_zh_html":"","doc":{"anchor":"FUNCTIONS-STRING-SQL","file":"functions-string.html","slug":"18"},"group":"string","group_label":"String Functions And Operators","lang":"en","layout":"table-new","pages":["functions-string.html","functions-range.html"],"prose_only":false,"signatures":[{"description":"Converts the string to all upper case, according to the rules of the database's locale.","description_html":"Converts the string to all upper case, according to the rules of the database's locale.","description_zh":"","description_zh_html":"","examples":[{"expr":"upper('tom')","result":"TOM"}],"html":"\u003ccode class=\"function\"\u003eupper\u003c/code\u003e ( \u003ccode class=\"type\"\u003etext\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003etext\u003c/code\u003e","returns":"text","text":"upper ( text ) → text","zh_from":""},{"description":"Extracts the upper bound of the range (NULL if the range is empty or has no upper bound).","description_html":"Extracts the upper bound of the range (\u003ccode class=\"literal\"\u003eNULL\u003c/code\u003e if the range is empty or has no upper bound).","description_zh":"","description_zh_html":"","examples":[{"expr":"upper(numrange(1.1,2.2))","result":"2.2"}],"html":"\u003ccode class=\"function\"\u003eupper\u003c/code\u003e ( \u003ccode class=\"type\"\u003eanyrange\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003eanyelement\u003c/code\u003e","returns":"anyelement","text":"upper ( anyrange ) → anyelement","zh_from":""},{"description":"Extracts the upper bound of the multirange (NULL if the multirange is empty or has no upper bound).","description_html":"Extracts the upper bound of the multirange (\u003ccode class=\"literal\"\u003eNULL\u003c/code\u003e if the multirange is empty or has no upper bound).","description_zh":"","description_zh_html":"","examples":[{"expr":"upper('{[1.1,2.2)}'::nummultirange)","result":"2.2"}],"html":"\u003ccode class=\"function\"\u003eupper\u003c/code\u003e ( \u003ccode class=\"type\"\u003eanymultirange\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003eanyelement\u003c/code\u003e","returns":"anyelement","text":"upper ( anymultirange ) → anyelement","zh_from":""}],"zh_from":""},"ManualEvidence":{"doc":{"anchor":"FUNCTIONS-STRING-SQL","file":"functions-string.html","slug":"18"}},"MeasuredEvidence":{}},"Text":{"Collection":"func","Key":"upper","SourceDatabase":"pgweb","Version":"18","Locale":"zh-Hans","Title":"upper","Summary":"根据数据库的区域设置规则，将字符串转换为全部大写。","BodyHTML":"根据数据库的区域设置规则，将字符串转换为全部大写。\u003cpre\u003eupper ( text ) → text\u003c/pre\u003e根据数据库的区域设置规则，将字符串转换为全部大写。\u003cpre\u003eupper ( anyrange ) → anyelement\u003c/pre\u003e提取范围的上界（如果范围为空或没有上界，则返回\u003ccode\u003eNULL\u003c/code\u003e）。\u003cpre\u003eupper ( anymultirange ) → anyelement\u003c/pre\u003e提取多范围的上界（如果多范围为空或没有上界，则返回\u003ccode\u003eNULL\u003c/code\u003e）。","SourceRevision":"ca936764","ContentHash":"ec13a9b4afaf75c76fd92583f3e115cea225f45f2d98a4d662be2e96ee7b6c84","Payload":{"description_zh":"根据数据库的区域设置规则，将字符串转换为全部大写。","description_zh_html":"根据数据库的区域设置规则，将字符串转换为全部大写。","signatures":[{"description_zh":"根据数据库的区域设置规则，将字符串转换为全部大写。","description_zh_html":"根据数据库的区域设置规则，将字符串转换为全部大写。","returns":"text","text":"upper ( text ) → text","zh_from":"doc"},{"description_zh":"提取范围的上界（如果范围为空或没有上界，则返回NULL）。","description_zh_html":"提取范围的上界（如果范围为空或没有上界，则返回\u003ccode class=\"literal\"\u003eNULL\u003c/code\u003e）。","returns":"anyelement","text":"upper ( anyrange ) → anyelement","zh_from":"doc"},{"description_zh":"提取多范围的上界（如果多范围为空或没有上界，则返回NULL）。","description_zh_html":"提取多范围的上界（如果多范围为空或没有上界，则返回\u003ccode class=\"literal\"\u003eNULL\u003c/code\u003e）。","returns":"anyelement","text":"upper ( anymultirange ) → anyelement","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":"673502930c6fb994031514d172ed73b694ee738bbf51a9af7b17b18a5554a451","Text":"upper ( text ) → text","Returns":"text","Payload":{"description":"Converts the string to all upper case, according to the rules of the database's locale.","description_html":"Converts the string to all upper case, according to the rules of the database's locale.","description_zh":"","description_zh_html":"","examples":[{"expr":"upper('tom')","result":"TOM"}],"html":"\u003ccode class=\"function\"\u003eupper\u003c/code\u003e ( \u003ccode class=\"type\"\u003etext\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003etext\u003c/code\u003e","returns":"text","text":"upper ( text ) → text","zh_from":""}},{"Version":"18","Ordinal":1,"Hash":"aef6598c7f531a94dfa401285262fc9f0d2aa80baf070f312da43992c8e46059","Text":"upper ( anyrange ) → anyelement","Returns":"anyelement","Payload":{"description":"Extracts the upper bound of the range (NULL if the range is empty or has no upper bound).","description_html":"Extracts the upper bound of the range (\u003ccode class=\"literal\"\u003eNULL\u003c/code\u003e if the range is empty or has no upper bound).","description_zh":"","description_zh_html":"","examples":[{"expr":"upper(numrange(1.1,2.2))","result":"2.2"}],"html":"\u003ccode class=\"function\"\u003eupper\u003c/code\u003e ( \u003ccode class=\"type\"\u003eanyrange\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003eanyelement\u003c/code\u003e","returns":"anyelement","text":"upper ( anyrange ) → anyelement","zh_from":""}},{"Version":"18","Ordinal":2,"Hash":"bdce20ed3b63960ec93e1b5f9dea745a9aa9ee7b22991f8c0288141ece4e4c26","Text":"upper ( anymultirange ) → anyelement","Returns":"anyelement","Payload":{"description":"Extracts the upper bound of the multirange (NULL if the multirange is empty or has no upper bound).","description_html":"Extracts the upper bound of the multirange (\u003ccode class=\"literal\"\u003eNULL\u003c/code\u003e if the multirange is empty or has no upper bound).","description_zh":"","description_zh_html":"","examples":[{"expr":"upper('{[1.1,2.2)}'::nummultirange)","result":"2.2"}],"html":"\u003ccode class=\"function\"\u003eupper\u003c/code\u003e ( \u003ccode class=\"type\"\u003eanymultirange\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003eanyelement\u003c/code\u003e","returns":"anyelement","text":"upper ( anymultirange ) → anyelement","zh_from":""}}],"Spellings":null,"SQLState":null,"Evidence":null}
