From: Jehan-Guillaume (ioguix) de Rorthais <ioguix@free.fr>
To: Олег Самойлов <splarv@ya.ru>
Cc: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: BUG: Incorrect working with POSIX locale if database in UTF-8 encoding
Date: Thu, 18 Oct 2018 15:45:04 +0200
Message-ID: <20181018154504.2e87ee54@firost> (raw)
In-Reply-To: <13FE0F7C-5140-499C-8C2E-0BE64BC3A48B@ya.ru>
References: <13FE0F7C-5140-499C-8C2E-0BE64BC3A48B@ya.ru>
On Wed, 17 Oct 2018 12:29:52 +0300
Олег Самойлов <splarv@ya.ru> wrote:
> There is not problem with systemctl, if system locale setted by localectl is
> the same as database locale. But, as I said, there is problem with pacemaker
> pgsqlms module. And I think this is incorrect behavior. Database may write in
> log messages in database locale, if this messages arises inside connection to
> this database. But common messages, such as messages on start cluster or
> errors on start cluster must written according to locale settings, and if
> locale empty (POSIX) such messages must be in english. And if messages not in
> english they must be visible as is, not as ‘???’. :) It works inside
> connection, why this does not work on start/stop?
It seems like POSIX support ASCII and some additional characters. So maybe the
character encoding used in the database is just incompatible with POSIX, ie.
POSIX does not support wide chars. As you can see, characters from ASCII table
are printed correctly.
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: ioguix@free.fr, splarv@ya.ru
Subject: Re: BUG: Incorrect working with POSIX locale if database in UTF-8 encoding
In-Reply-To: <20181018154504.2e87ee54@firost>
References: <13FE0F7C-5140-499C-8C2E-0BE64BC3A48B@ya.ru> <20181018154504.2e87ee54@firost>
* 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