From: Peter Eisentraut <peter_e@gmx.net>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Maxim Boguk <maxim.boguk@gmail.com>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #6288: Is ALTER ROLE set client_encoding broken in 9.1?
Date: Fri, 11 Nov 2011 18:48:24 +0200
Message-ID: <1321030104.14677.2.camel@vanquo.pezone.net> (raw)
In-Reply-To: <20758.1320971432@sss.pgh.pa.us>
References: <201111101109.pAAB9Vja074963@wwwmaster.postgresql.org>
<7531.1320936943@sss.pgh.pa.us>
<CAK-MWwRUf0fPL8NxkZVBdJYd_bUWz7QO7gQV3Bb1N6iypm-2KQ@mail.gmail.com>
<20758.1320971432@sss.pgh.pa.us>
On tor, 2011-11-10 at 19:30 -0500, Tom Lane wrote:
> I think psql only pays attention to its locale when stdout is a tty.
> Now *why* it acts like that, I'll leave for Peter to defend.
We would have to review the original discussion about that. I can see
arguments for doing it that way and for not doing it that way.
This, however, still doesn't explain why a ALTER ROLE ... SET
client_encoding is not taking effect. After all, a plain SET
client_encoding still works.
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: peter_e@gmx.net, tgl@sss.pgh.pa.us, maxim.boguk@gmail.com
Subject: Re: BUG #6288: Is ALTER ROLE set client_encoding broken in 9.1?
In-Reply-To: <1321030104.14677.2.camel@vanquo.pezone.net>
References: <201111101109.pAAB9Vja074963@wwwmaster.postgresql.org> <7531.1320936943@sss.pgh.pa.us> <CAK-MWwRUf0fPL8NxkZVBdJYd_bUWz7QO7gQV3Bb1N6iypm-2KQ@mail.gmail.com> <20758.1320971432@sss.pgh.pa.us> <1321030104.14677.2.camel@vanquo.pezone.net>
* 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