Re: Does pgAgent support chinese, japanese characters?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Does pgAgent support chinese, japanese characters?
Дата
Msg-id 27962.1528811975@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Does pgAgent support chinese, japanese characters?  ("a" <372660931@qq.com>)
Ответы Re: Does pgAgent support chinese, japanese characters?
Список pgsql-general
"=?ISO-8859-1?B?YQ==?=" <372660931@qq.com> writes:
> Hi I'm using pgAgent to set up daily or monthly tasks.
> I have tables that with the name of Chinese or Japanese. It runs ok in normal sql script, but report non-recognizable
inpgAgent SQL jobs. 

First guess is that client_encoding is getting set differently in the
pgAgent-initiated sessions than elsewhere, causing incorrect character set
conversions to happen.

> I'm using windows server 2008, pgsql 10, and pgAgent 3.4, may there be a way of supporting different languages??

... unfortunately, I don't know anything about how to adjust that
in Windows.  A brute-force way would be to issue "set client_encoding"
in your scripts, but there may be a better way.

            regards, tom lane


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

Предыдущее
От: Adrian Klaver
Дата:
Сообщение: Re: Semantics around INSERT INTO with SELECT and ORDER BY.
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Semantics around INSERT INTO with SELECT and ORDER BY.