Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1aVltB-0001eg-Dz for pgsql-bugs@arkaria.postgresql.org; Tue, 16 Feb 2016 20:06:25 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1aVltA-0005Bp-Vh for pgsql-bugs@arkaria.postgresql.org; Tue, 16 Feb 2016 20:06:25 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1aVltA-0005Bh-Gw for pgsql-bugs@postgresql.org; Tue, 16 Feb 2016 20:06:24 +0000 Received: from momjian.us ([72.94.173.45]) by makus.postgresql.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.84) (envelope-from ) id 1aVlt3-0000D2-CO; Tue, 16 Feb 2016 20:06:22 +0000 Received: from bruce by momjian.us with local (Exim 4.72) (envelope-from ) id 1aVlt0-0007Td-4M; Tue, 16 Feb 2016 15:06:14 -0500 Date: Tue, 16 Feb 2016 15:06:14 -0500 From: Bruce Momjian To: Jim Nasby Cc: Jan Lentfer , Tatsuo Ishii , pgsql-bugs@postgresql.org Subject: Re: Encoding problems with "COMMENT ON DATABASE .." causing pg_restore (and pg_upgrade) to fail Message-ID: <20160216200614.GI31273@momjian.us> References: <666abab3fe03561c77dbfc661b023985@neslonek.homeunix.org> <20160127.094510.1792875178673024937.t-ishii@sraoss.co.jp> <20160216163833.GF31273@momjian.us> <56C37A38.6060007@BlueTreble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <56C37A38.6060007@BlueTreble.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org On Tue, Feb 16, 2016 at 01:36:24PM -0600, Jim Nasby wrote: > On 2/16/16 10:38 AM, Bruce Momjian wrote: > >I see no one else commented on this. We have trouble keeping the global > >system catalogs consistent when databases in the same cluster use > >different encodings. I am not sure how we could improve this. > > Could we force the global catalogs to always be accessed via UTF8, > at least for modification? I suspect that would mean changing > encodings on the fly in the appropriate command functions (such as > what's listed in src/include/commands/user.h). I don't remember us favoring UTF8 in this way in the past. -- Bruce Momjian http://momjian.us EnterpriseDB http://enterprisedb.com + As you are, so once was I. As I am, so you will be. + + Roman grave inscription + -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs