Re: logs encoding problem Windows

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bartosz Dmytrak <bdmytrak(at)gmail(dot)com>
Cc: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: logs encoding problem Windows
Date: 2012-12-07 15:16:06
Message-ID: 22715.1354893366@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Bartosz Dmytrak <bdmytrak(at)gmail(dot)com> writes:
> I've got a question about logs encoding on Windows.

Postmaster log messages are written in whatever the database_encoding
is, so if you've got multiple databases with different encodings, the
encoding in the log will be inconsistent. There have been debates about
fixing this but every solution has disadvantages. For the moment my
advice would be to use a single database encoding if inconsistent log
encoding is a problem for you.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Aleksey Tsalolikhin 2012-12-07 19:58:41 How to mix psql commands and SQL commands on the shell command line?
Previous Message Fabrízio de Royes Mello 2012-12-07 15:09:24 Re: How to find which query a waiting query waiting for?