{"Entry":{"collection":"func","key":"pg-encoding-to-char","name":"pg_encoding_to_char","aliases":[],"metadata":{"changed_in":[],"changes":[{"descriptions_changed":false,"doc_overhaul":false,"from":"14","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"added","to":"15"}],"content_hash":"64a1f6848cc6d8e1f51789df6357799f8a355217b0d4164a327d6fdfa1647668","first_version":"15","group":"info","group_label":"System Information Functions And Operators","groups":["info"],"imported_at":"2026-09-27T17:57:29.154576+08:00","last_version":"20","name":"pg_encoding_to_char","name_key":"pg_encoding_to_char","position":28050,"present_in":["15","16","17","18","19","20"],"signature":"pg_encoding_to_char ( encoding integer ) → name","signature_count":1,"slug":"pg-encoding-to-char","source_rev":"b7bd9cda","summary":"Converts the integer used as the internal identifier of an encoding in some system catalog tables into a human-readable string.","summary_zh":""}},"Definition":{"Collection":"func","Key":"pg-encoding-to-char","SourceDatabase":"center","Version":"18","SourceTable":"func","SourceKey":"pg-encoding-to-char","SourceRevision":"b7bd9cda","Facts":{"description":"Converts the integer used as the internal identifier of an encoding in some system catalog tables into a human-readable string. Returns an empty string if an invalid encoding number is provided.","description_html":"Converts the integer used as the internal identifier of an encoding in some system catalog tables into a human-readable string. Returns an empty string if an invalid encoding number is provided.","description_zh":"","description_zh_html":"","doc":{"anchor":"FUNCTIONS-INFO-CATALOG-TABLE","file":"functions-info.html","slug":"18"},"group":"info","group_label":"System Information Functions And Operators","lang":"en","layout":"table-new","pages":["functions-info.html"],"prose_only":false,"signatures":[{"description":"Converts the integer used as the internal identifier of an encoding in some system catalog tables into a human-readable string. Returns an empty string if an invalid encoding number is provided.","description_html":"Converts the integer used as the internal identifier of an encoding in some system catalog tables into a human-readable string. Returns an empty string if an invalid encoding number is provided.","description_zh":"","description_zh_html":"","examples":[],"html":"\u003ccode class=\"function\"\u003epg_encoding_to_char\u003c/code\u003e ( \u003cem class=\"parameter\"\u003e\u003ccode\u003eencoding\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003einteger\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003ename\u003c/code\u003e","returns":"name","text":"pg_encoding_to_char ( encoding integer ) → name","zh_from":""}],"zh_from":""},"ManualEvidence":{"doc":{"anchor":"FUNCTIONS-INFO-CATALOG-TABLE","file":"functions-info.html","slug":"18"}},"MeasuredEvidence":{}},"Text":{"Collection":"func","Key":"pg-encoding-to-char","SourceDatabase":"pgweb","Version":"18","Locale":"zh-Hans","Title":"pg_encoding_to_char","Summary":"将在某些系统目录表中用作编码内部标识符的整数转换为可读的字符串。如果提供了无效的编码编号，则返回空字符串。","BodyHTML":"将在某些系统目录表中用作编码内部标识符的整数转换为可读的字符串。如果提供了无效的编码编号，则返回空字符串。\u003cpre\u003epg_encoding_to_char ( encoding integer ) → name\u003c/pre\u003e将在某些系统目录表中用作编码内部标识符的整数转换为可读的字符串。如果提供了无效的编码编号，则返回空字符串。","SourceRevision":"ca936764","ContentHash":"3411e2be480a21d05f5bac3bfae191cd25e02db2d1caf97cdcd37d5b6b4c0303","Payload":{"description_zh":"将在某些系统目录表中用作编码内部标识符的整数转换为可读的字符串。如果提供了无效的编码编号，则返回空字符串。","description_zh_html":"将在某些系统目录表中用作编码内部标识符的整数转换为可读的字符串。如果提供了无效的编码编号，则返回空字符串。","signatures":[{"description_zh":"将在某些系统目录表中用作编码内部标识符的整数转换为可读的字符串。如果提供了无效的编码编号，则返回空字符串。","description_zh_html":"将在某些系统目录表中用作编码内部标识符的整数转换为可读的字符串。如果提供了无效的编码编号，则返回空字符串。","returns":"name","text":"pg_encoding_to_char ( encoding integer ) → name","zh_from":"doc"}],"zh_from":"doc"}},"RequestedLocale":"zh-Hans","Fallback":false,"Versions":["15","16","17","18","19","20"],"Locales":["en","zh-Hans"],"Signatures":[{"Version":"18","Ordinal":0,"Hash":"b91b4e72894e417c713ae6765c40c7b28067c5a8e0f3fbd70caa804e2bdd8006","Text":"pg_encoding_to_char ( encoding integer ) → name","Returns":"name","Payload":{"description":"Converts the integer used as the internal identifier of an encoding in some system catalog tables into a human-readable string. Returns an empty string if an invalid encoding number is provided.","description_html":"Converts the integer used as the internal identifier of an encoding in some system catalog tables into a human-readable string. Returns an empty string if an invalid encoding number is provided.","description_zh":"","description_zh_html":"","examples":[],"html":"\u003ccode class=\"function\"\u003epg_encoding_to_char\u003c/code\u003e ( \u003cem class=\"parameter\"\u003e\u003ccode\u003eencoding\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003einteger\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003ename\u003c/code\u003e","returns":"name","text":"pg_encoding_to_char ( encoding integer ) → name","zh_from":""}}],"Spellings":null,"SQLState":null,"Evidence":null}
