Re: List of encodings

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: List of encodings
Дата
Msg-id 3432386.1776524911@sss.pgh.pa.us
обсуждение
Ответ на List of encodings  (Igor Korot <ikorot01@gmail.com>)
Список pgsql-general
Igor Korot <ikorot01@gmail.com> writes:
> Does the list shown in
> https://www.postgresql.org/docs/current/multibyte.html#MULTIBYTE-CHARSET-SUPPORTED
> stored somewhere in INFORMATION_SCHEMA?

No, the SQL standard doesn't specify any such view.

You could try

# select n, pg_encoding_to_char(n) from generate_series(0,50) n;
 n  | pg_encoding_to_char
----+---------------------
  0 | SQL_ASCII
  1 | EUC_JP
  2 | EUC_CN
  3 | EUC_KR
  4 | EUC_TW
  5 | EUC_JIS_2004
  6 | UTF8
  ...

            regards, tom lane



В списке pgsql-general по дате отправления: