| От | Tom Lane |
|---|---|
| Тема | Re: PQexecPrepared() question |
| Дата | |
| Msg-id | 138367.1766337436@sss.pgh.pa.us обсуждение |
| Ответ на | Re: PQexecPrepared() question (Adrian Klaver <adrian.klaver@aklaver.com>) |
| Ответы |
Re: PQexecPrepared() question
|
| Список | pgsql-general |
Adrian Klaver <adrian.klaver@aklaver.com> writes:
> It is not the same setup, in your original question you are hand writing
> code not running a script through the ODBC driver. Best bet is the ODBC
> driver is picking up the client(Windows) encoding and passing it to the
> server.
It might be the other way around. psql absolutely will try to infer
an encoding from its environment, but perhaps the ODBC driver does
not, or does it differently.
In any case, "SHOW client_encoding" in both the working and
non-working contexts would yield useful information.
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера