Re: logfile character encoding

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: logfile character encoding
Дата
Msg-id 29206.1408218049@sss.pgh.pa.us
обсуждение исходный текст
Ответ на logfile character encoding  (Redoute <redoute@tortenboxer.de>)
Ответы Re: logfile character encoding  (Redoute <redoute@tortenboxer.de>)
Список pgsql-general
Redoute <redoute@tortenboxer.de> writes:
> please help me with this problem: My postgreSQL logfiles generally are
> encoded in UTF-8, but some entries are in Windows-1252. The server
> status in pgAdmin III doesn't cope with this; it is unusable because of
> continuous error popups.

> I found several discussions regarding this issue, e. g.
> http://www.postgresql.org/message-id/CAD8_UcbfncTLTPeVcihXGJtGoB5BjfqBH48R3Zor0Y91Ph0hUw@mail.gmail.com
> http://www.postgresql.org/message-id/201012211547.oBLFl3qC019008@wwwmaster.postgresql.org
> but unfortunately I don't understand cause and, if possible, repair.

Individual server sessions will log in their database encoding, but
the postmaster (parent process) will probably log in an encoding
determined by its environment.  You need to make sure the postmaster's
environment selects a UTF8 locale.  I'm not familiar with how to do
that on Windows, unfortunately.

            regards, tom lane


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

Предыдущее
От: Redoute
Дата:
Сообщение: logfile character encoding
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: pg_ident.hba on a single-user, multi-app machine