From: Julien Rouhaud <rjuju123@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Antoine <plaskowski.stanislas@gmail.com>
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: Windows locale cause server to send invalid data encoding to client
Date: Wed, 14 Jul 2021 22:32:25 +0800
Message-ID: <20210714143225.27evvwjlggn5m666@nol> (raw)
In-Reply-To: <3484083.1626272399@sss.pgh.pa.us>
References: <CAO16vDNM5_eUZG3unbumx2AJt11VZxuQxn9cSZ9VhSCpD1TMgw@mail.gmail.com>
<20210714135052.bg5ywhl7p23tnjmg@nol>
<3484083.1626272399@sss.pgh.pa.us>
On Wed, Jul 14, 2021 at 10:19:59AM -0400, Tom Lane wrote:
>
> I wonder if we should decline
> to translate any error messages until we've established the requested
> client encoding. Sending the message in English isn't ideal either,
> but it'd avoid this hazard.
I'm not sure which one is the worst. One the bright side there aren't that
many messages that can be sent until the client encoding can be set up for I'm
+0.5 for this change.
I don't think this would be back patchable right? In any case it won't help
existing servers, so drivers won't benefit from such a change before many
years :(
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-bugs@postgresql.org
Cc: rjuju123@gmail.com, tgl@sss.pgh.pa.us, plaskowski.stanislas@gmail.com
Subject: Re: Windows locale cause server to send invalid data encoding to client
In-Reply-To: <20210714143225.27evvwjlggn5m666@nol>
References: <CAO16vDNM5_eUZG3unbumx2AJt11VZxuQxn9cSZ9VhSCpD1TMgw@mail.gmail.com> <20210714135052.bg5ywhl7p23tnjmg@nol> <3484083.1626272399@sss.pgh.pa.us> <20210714143225.27evvwjlggn5m666@nol>
* 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