Re: BUG #6288: Is ALTER ROLE set client_encoding broken in 9.1? - Mailing list pgsql-bugs

From Peter Eisentraut
Subject Re: BUG #6288: Is ALTER ROLE set client_encoding broken in 9.1?
Date
Msg-id 1321030104.14677.2.camel@vanquo.pezone.net
Whole thread Raw
In response to Re: BUG #6288: Is ALTER ROLE set client_encoding broken in 9.1?  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: BUG #6288: Is ALTER ROLE set client_encoding broken in 9.1?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
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.

pgsql-bugs by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Add statistics_collector_listen_addresses to fix hard-coding of "localhost"
Next
From: Tom Lane
Date:
Subject: Re: BUG #6288: Is ALTER ROLE set client_encoding broken in 9.1?