This is a discussion on Need values for encoding table within the pgsql Novice forums, part of the PostgreSQL category; --> Hello I am picking up the encoding for my databases from TABLE pg_database in template1, from the field "encoding" ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hello I am picking up the encoding for my databases from TABLE pg_database in template1, from the field "encoding" For SQL_ASCII I get a 0 For UTF-8 I get a 6 Can somebody supply all the encoding values? I cannot locate them Thank you |
| ||||
| "Leo" <fleovey@jus.gov.ar> writes: > I am picking up the encoding for my databases from TABLE pg_database in template1, from the field "encoding" > For SQL_ASCII I get a 0 > For UTF-8 I get a 6 > Can somebody supply all the encoding values? I cannot locate them I think you're looking for the pg_encoding_to_char() function. It's not terribly well documented perhaps :-( ... I'd be interested to know what parts of the docs you looked in. regards, tom lane -- Sent via pgsql-novice mailing list (pgsql-novice@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-novice |