Re: main log encoding problem - Mailing list pgsql-bugs

From Alexander Law
Subject Re: main log encoding problem
Date
Msg-id 5007C802.3060007@gmail.com
Whole thread Raw
In response to Re: main log encoding problem  (Tatsuo Ishii <ishii@postgresql.org>)
Responses Re: main log encoding problem  (Tatsuo Ishii <ishii@postgresql.org>)
Re: [GENERAL] main log encoding problem  (Alban Hertroys <haramrae@gmail.com>)
List pgsql-bugs
>> Ok, maybe the time of real universal encoding has not yet come. Then
>> we maybe just should add a new parameter "log_encoding" (UTF-8 by
>> default) to postgresql.conf. And to use this encoding consistently
>> within logging_collector.
>> If this encoding is not available then fall back to 7-bit ASCII.
> What do you mean by "not available"?
Sorry, it was inaccurate phrase. I mean "if the conversion to this
encoding is not avaliable". For example, when we have database in EUC_JP
and log_encoding set to Latin1. I think that we can even fall back to
UTF-8 as we can convert all encodings to it (with some exceptions that
you noticed).


pgsql-bugs by date:

Previous
From: Tatsuo Ishii
Date:
Subject: Re: main log encoding problem
Next
From: Tatsuo Ishii
Date:
Subject: Re: main log encoding problem