From: Bruce Momjian <bruce@momjian.us>
To: Jim Nasby <Jim.Nasby@BlueTreble.com>
Cc: Jan Lentfer <jan.lentfer@web.de>
Cc: Tatsuo Ishii <ishii@postgresql.org>
Cc: pgsql-bugs@postgresql.org
Subject: Re: Encoding problems with "COMMENT ON DATABASE .." causing pg_restore (and pg_upgrade) to fail
Date: Tue, 16 Feb 2016 15:06:14 -0500
Message-ID: <20160216200614.GI31273@momjian.us> (raw)
In-Reply-To: <56C37A38.6060007@BlueTreble.com>
References: <666abab3fe03561c77dbfc661b023985@neslonek.homeunix.org>
<20160127.094510.1792875178673024937.t-ishii@sraoss.co.jp>
<a449263f8e2ac8dc5c4454fac2b24b05@neslonek.homeunix.org>
<20160216163833.GF31273@momjian.us>
<56C37A38.6060007@BlueTreble.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
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 <bruce@momjian.us> 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
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: bruce@momjian.us, Jim.Nasby@BlueTreble.com, jan.lentfer@web.de, ishii@postgresql.org
Subject: Re: Encoding problems with "COMMENT ON DATABASE .." causing pg_restore (and pg_upgrade) to fail
In-Reply-To: <20160216200614.GI31273@momjian.us>
References: <666abab3fe03561c77dbfc661b023985@neslonek.homeunix.org> <20160127.094510.1792875178673024937.t-ishii@sraoss.co.jp> <a449263f8e2ac8dc5c4454fac2b24b05@neslonek.homeunix.org> <20160216163833.GF31273@momjian.us> <56C37A38.6060007@BlueTreble.com> <20160216200614.GI31273@momjian.us>
* 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