Re: BUG #18318: Different character codes are mixed in the log file in Japanese locale. - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #18318: Different character codes are mixed in the log file in Japanese locale.
Date
Msg-id 2526289.1706715527@sss.pgh.pa.us
Whole thread Raw
In response to BUG #18318: Different character codes are mixed in the log file in Japanese locale.  (PG Bug reporting form <noreply@postgresql.org>)
List pgsql-bugs
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



pgsql-bugs by date:

Previous
From: Oleksandr Voytsekhovskyy
Date:
Subject: Cascade rules on INSERT wrong behaviour on 16.0
Next
From: PG Bug reporting form
Date:
Subject: BUG #18319: Logical Replication updates causing duplication of row if evaluation filter is set to the same field