psycopg2+postgres check default charset of db or table

Поиск
Список
Период
Сортировка
От Peter Irbizon
Тема psycopg2+postgres check default charset of db or table
Дата
Msg-id CABFuWSzAno2Oia-+3KRcuLAWYZRC3CJd5AGW2v1tFKica571XA@mail.gmail.com
обсуждение исходный текст
Ответы Re: psycopg2+postgres check default charset of db or table  (Joe Abbate <jma@freedomcircle.com>)
Список psycopg
Hello guys,
I am using python 2.7 and psycopg2. How could I find out default charset used by database? I would like to check it and then according to used charset decode returned strings.
 
I tried "select rdb$character_set_name from rdb$database" but it seems it doesn't work for postgres. thank you

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

Предыдущее
От: Leon Starr
Дата:
Сообщение: Re: Using with Python 3, possible? how?
Следующее
От: Joe Abbate
Дата:
Сообщение: Re: psycopg2+postgres check default charset of db or table