pg_conversion

Started by Christopher Kings-Lynneabout 23 years ago2 messages
#1Christopher Kings-Lynne
chriskl@familyhealth.com.au

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

#2Tatsuo Ishii
t-ishii@sra.co.jp
In reply to: Christopher Kings-Lynne (#1)
Re: pg_conversion

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