Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id DA334AC00E8 for ; Thu, 10 Nov 2011 10:55:49 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 04566-03 for ; Thu, 10 Nov 2011 14:55:44 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.8.0-rc2 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id D8A06AC00E7 for ; Thu, 10 Nov 2011 10:55:43 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id pAAEthVK007532; Thu, 10 Nov 2011 09:55:43 -0500 (EST) To: "Maksym Boguk" cc: pgsql-bugs@postgresql.org 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> Comments: In-reply-to "Maksym Boguk" message dated "Thu, 10 Nov 2011 11:09:31 +0000" Date: Thu, 10 Nov 2011 09:55:43 -0500 Message-ID: <7531.1320936943@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-3.101 tagged_above=-5 required=5 tests=BAYES_00=-1.9, RP_MATCHES_RCVD=-1.201 X-Spam-Level: X-Archive-Number: 201111/77 X-Sequence-Number: 31672 "Maksym Boguk" writes: > Description: Is ALTER ROLE set client_encoding broken in 9.1? No, but I think psql prefers to set its encoding according to its locale enviroment these days. regards, tom lane