Обсуждение: pg_conversion

Поиск
Список
Период
Сортировка

pg_conversion

От
"Christopher Kings-Lynne"
Дата:
Hi,

What do the columns conforencoding and contoencoding refer to in
pg_conversion?

How would I convert those numbers to a string encoding name, just using SQL?

Chris



Re: pg_conversion

От
Tatsuo Ishii
Дата:
> What do the columns conforencoding and contoencoding refer to in
> pg_conversion?
> 
> How would I convert those numbers to a string encoding name, just using SQL?
> 
> Chris

Use pg_encoding_to_char().
--
Tatsuo Ishii