pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: gomikioshi@gmail.com
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #18318: Different character codes are mixed in the log file in Japanese locale.
Date: Wed, 31 Jan 2024 10:38:47 -0500
Message-ID: <2526289.1706715527@sss.pgh.pa.us> (raw)
In-Reply-To: <18318-b429273b58c08fa8@postgresql.org>
References: <18318-b429273b58c08fa8@postgresql.org>

PG Bug reporting form <noreply@postgresql.org> writes:
> Different character codes are mixed in the log file in Japanese locale like
> following.

This is expected, if you're running an installation that has a mix of
different database encodings.  Processes will log in whatever encoding
is used by the database they're connected to.  Processes not connected
to any DB will log in the encoding suggested by the locale
environment.  (At least that's how it works on Unix; less sure about
Windows.)  There's not much we can do to change this.  If we tried to
convert all these to a common encoding, what happens if the encoding
conversion fails?

			regards, tom lane





view thread (2+ messages)

Message-ID: <2526289.1706715527@sss.pgh.pa.us>
Permalink:  ../2526289.1706715527@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/2526289.1706715527@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, gomikioshi@gmail.com, pgsql-bugs@lists.postgresql.org
  Subject: Re: BUG #18318: Different character codes are mixed in the log file in Japanese locale.
  In-Reply-To: <2526289.1706715527@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox