pg_encoding_to_char ( encoding integer ) → nameConverts 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.
FUNCTIONS / SYSTEM INFORMATION FUNCTIONS AND OPERATORS
pg_encoding_to_char
Read PG 18 manual ↗Converts the integer used as the internal identifier of an encoding in some system catalog tables into a human-readable string.
Signatures & examples
Version history 1
- PG 14 → 15added
Definition snapshot: 2026-09-14T13:14:25.684213+00:00@99e6866c · English manual source