Re: List of encodings

David G. Johnston <david.g.johnston@gmail.com>

From: "David G. Johnston" <david.g.johnston@gmail.com>
To: Igor Korot <ikorot01@gmail.com>
Cc: "pgsql-generallists.postgresql.org" <pgsql-general@lists.postgresql.org>
Date: 2026-04-18T07:19:21Z
Lists: pgsql-general
On Friday, April 17, 2026, Igor Korot <ikorot01@gmail.com> wrote:

> Hi, ALL,
> Does the list shown in
> https://www.postgresql.org/docs/current/multibyte.html#
> MULTIBYTE-CHARSET-SUPPORTED
> stored somewhere in INFORMATION_SCHEMA?


This wouldn’t be under the purview of information schema.  You can find
pg-specific pieces though:

https://www.postgresql.org/docs/current/catalog-pg-conversion.html

Note the function used to convert ids to names.


>
> Or is it hard coded inside the PostgreSQL codebase?
>

 Yes.  Doesn’t preclude exposing it via SQL but we don’t do so directly.

David J.