Re: BUG #6288: Is ALTER ROLE set client_encoding broken in 9.1?

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Maxim Boguk <maxim(dot)boguk(at)gmail(dot)com>, pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #6288: Is ALTER ROLE set client_encoding broken in 9.1?
Date: 2011-11-11 16:48:24
Message-ID: 1321030104.14677.2.camel@vanquo.pezone.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2011-11-11 20:34:39 Re: BUG #6288: Is ALTER ROLE set client_encoding broken in 9.1?
Previous Message Alvaro Herrera 2011-11-11 13:32:59 Re: Add statistics_collector_listen_addresses to fix hard-coding of "localhost"