libpq PGresult object and encoding

Поиск
Список
Период
Сортировка
От Jeff Davis
Тема libpq PGresult object and encoding
Дата
Msg-id 1266293187.22594.45.camel@jdavis-laptop
обсуждение исходный текст
Ответы Re: libpq PGresult object and encoding  (Jeroen Vermeulen <jtv@xs4all.nl>)
Список pgsql-hackers
libpq has a PQclientEncoding() function that takes a connection object. 

However, the client encoding is, in some cases, a property of the result
object. For instance, if your client_encoding changes, but you keep the
result object around, you have no way to determine later what encoding
the results are in.

The result object already saves the client_encoding. Should an accessor
be provided?

Regards,Jeff Davis



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

Предыдущее
От: Jeff Davis
Дата:
Сообщение: Re: Confusion over Python drivers
Следующее
От: KaiGai Kohei
Дата:
Сообщение: Re: CommitFest Status Summary - 2010-02-14