{"Entry":{"collection":"func","key":"enum-first","name":"enum_first","aliases":[],"metadata":{"changed_in":[],"changes":[{"descriptions_changed":false,"doc_overhaul":false,"from":"8.2","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"added","to":"8.3"},{"descriptions_changed":false,"doc_overhaul":true,"from":"12","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"changed","to":"13"}],"content_hash":"8083c51d61f4c734610ab77e302fd9f069e9bd10ba1de3ff6b39beff2bc68a77","derived_content_hash":"07a7035e71d1d24c11f3c532afeaf1776ad0fb46f57b2a65afc420aa68e50023","first_version":"8.3","group":"enum","group_label":"Enum Support Functions","groups":["enum"],"imported_at":"2026-09-27T17:57:28.587147+08:00","last_version":"20","name":"enum_first","name_key":"enum_first","position":9000,"present_in":["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"],"repair_provenance":{"original_source_revision":"wiki-repair-20261023:dc1cdccb55ff642a7dfa019ce1f9f2b5465fd87276b121b5a0437c256ce4f24b","receipt_sha256":"3f4df05868c71f68a152ab5e1fef82d652ecc40c4646f2462fc898e407e74a3e","repair":"wiki-repair-20261023"},"signature":"enum_first ( anyenum ) → anyenum","signature_count":1,"slug":"enum-first","source_rev":"wiki-repair-20261023:d85e9793b03d8b72ae0405b647fe05331fcb534c75bcda90529e80fded9aa6b1","summary":"Returns the first value of the input enum type.","summary_zh":""}},"Definition":{"Collection":"func","Key":"enum-first","SourceDatabase":"center","Version":"18","SourceTable":"func","SourceKey":"enum-first","SourceRevision":"wiki-repair-20261023:d85e9793b03d8b72ae0405b647fe05331fcb534c75bcda90529e80fded9aa6b1","Facts":{"description":"Returns the first value of the input enum type.","description_html":"Returns the first value of the input enum type.","description_zh":"返回输入枚举类型的第一个值。","description_zh_html":"返回输入枚举类型的第一个值。","doc":{"anchor":"FUNCTIONS-ENUM-TABLE","file":"functions-enum.html","slug":"18"},"group":"enum","group_label":"Enum Support Functions","lang":"en","layout":"table-new","pages":["functions-enum.html"],"prose_only":false,"signatures":[{"description":"Returns the first value of the input enum type.","description_html":"Returns the first value of the input enum type.","description_zh":"返回输入枚举类型的第一个值。","description_zh_html":"返回输入枚举类型的第一个值。","examples":[{"expr":"enum_first(null::rainbow)","result":"red"}],"html":"\u003ccode class=\"function\"\u003eenum_first\u003c/code\u003e ( \u003ccode class=\"type\"\u003eanyenum\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003eanyenum\u003c/code\u003e","returns":"anyenum","text":"enum_first ( anyenum ) → anyenum","zh_from":"same-version-pgdoc"}],"translation_provenance":{"inputs":[{"kind":"current-pgdoc-translation","path":"/Users/vonng/pgsty/pgdoc/zh/18/html/functions-enum.html","sha256":"7dd3bf04c73031f2c1421ae099fff9b551e451d0a51ecaa61aa8ec83e6f4c61e"}],"kind":"same-version-pgdoc","locale":"zh-Hans","source_revision":"b1b500221dbe5437cfca004d6b04d3f6e422765d","version":"18"},"zh_from":"same-version-pgdoc"},"ManualEvidence":{"doc":{"anchor":"FUNCTIONS-ENUM-TABLE","file":"functions-enum.html","slug":"18"}},"MeasuredEvidence":{}},"Text":{"Collection":"func","Key":"enum-first","SourceDatabase":"center","Version":"18","Locale":"en","Title":"enum_first","Summary":"Returns the first value of the input enum type.","BodyHTML":"Returns the first value of the input enum type.","SourceRevision":"wiki-repair-20261023:d85e9793b03d8b72ae0405b647fe05331fcb534c75bcda90529e80fded9aa6b1","ContentHash":"a2d5cdbcb081ae96a1059289ec7509f96f62bd5ba6f90970b54ffc3c8352ecda","Payload":{"description":"Returns the first value of the input enum type.","description_html":"Returns the first value of the input enum type.","signatures":[{"description":"Returns the first value of the input enum type.","description_html":"Returns the first value of the input enum type.","description_zh":"返回输入枚举类型的第一个值。","description_zh_html":"返回输入枚举类型的第一个值。","examples":[{"expr":"enum_first(null::rainbow)","result":"red"}],"html":"\u003ccode class=\"function\"\u003eenum_first\u003c/code\u003e ( \u003ccode class=\"type\"\u003eanyenum\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003eanyenum\u003c/code\u003e","returns":"anyenum","text":"enum_first ( anyenum ) → anyenum","zh_from":"same-version-pgdoc"}]}},"RequestedLocale":"en","Fallback":false,"Versions":["10","11","12","13","14","15","16","17","18","19","20","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":"ee86d9daec12a59573717f044610c67fad1c606bff7b110e9ecfba8c914c9cef","Text":"enum_first ( anyenum ) → anyenum","Returns":"anyenum","Payload":{"description":"Returns the first value of the input enum type.","description_html":"Returns the first value of the input enum type.","description_zh":"返回输入枚举类型的第一个值。","description_zh_html":"返回输入枚举类型的第一个值。","examples":[{"expr":"enum_first(null::rainbow)","result":"red"}],"html":"\u003ccode class=\"function\"\u003eenum_first\u003c/code\u003e ( \u003ccode class=\"type\"\u003eanyenum\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003eanyenum\u003c/code\u003e","returns":"anyenum","text":"enum_first ( anyenum ) → anyenum","zh_from":"same-version-pgdoc"}}],"Spellings":null,"SQLState":null,"Evidence":null}
