From: Maksym Boguk <maxim.boguk@gmail.com>
To: pgsql-bugs@postgresql.org
Subject: BUG #6288: Is ALTER ROLE set client_encoding broken in 9.1?
Date: Thu, 10 Nov 2011 11:09:31 GMT
Message-ID: <201111101109.pAAB9Vja074963@wwwmaster.postgresql.org> (raw)
The following bug has been logged online:
Bug reference: 6288
Logged by: Maksym Boguk
Email address: maxim.boguk@gmail.com
PostgreSQL version: 9.1
Operating system: Linux Ubuntu
Description: Is ALTER ROLE set client_encoding broken in 9.1?
Details:
I found common way deal with legacy applications encoding issues through
ALTER ROLE ... set client_encoding '...';
Doesn't work at 9.1 database:
test:
postgres@db13:/home/mboguk$ psql
psql (9.1.1)
Type "help" for help.
postgres=# CREATE DATABASE test WITH TEMPLATE = template0 ENCODING='KOI8R'
LC_COLLATE = 'ru_RU.KOI8-R' LC_CTYPE = 'ru_RU.KOI8-R';
CREATE DATABASE
postgres=# create role test with login;
CREATE ROLE
postgres=# alter role test set client_encoding to 'KOI8R';
ALTER ROLE
postgres=# \q
postgres@db13:/home/mboguk$ psql -U test
psql (9.1.1)
Type "help" for help.
test=> show client_encoding ;
client_encoding
-----------------
UTF8
(1 row)
The same way work without any issues with 8.3 and 8.4.
PS: it's possible i'm missing something obvious.
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: maxim.boguk@gmail.com
Subject: Re: BUG #6288: Is ALTER ROLE set client_encoding broken in 9.1?
In-Reply-To: <201111101109.pAAB9Vja074963@wwwmaster.postgresql.org>
References: <201111101109.pAAB9Vja074963@wwwmaster.postgresql.org>
* 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