Search Postgresql Archives

Re: logfile character encoding

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Redoute <redoute@xxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxx
> http://www.postgresql.org/message-id/201012211547.oBLFl3qC019008@xxxxxxxxxxxxxxxxxxxxxxxx
> 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


-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux