Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id B99E1B5DBE0 for ; Tue, 24 May 2011 09:33:16 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 65158-09 for ; Tue, 24 May 2011 12:33:09 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from momjian.us (momjian.us [70.90.9.53]) by mail.postgresql.org (Postfix) with ESMTP id 8CBC1B5DBD3 for ; Tue, 24 May 2011 09:33:09 -0300 (ADT) Received: (from bruce@localhost) by momjian.us (8.11.6/8.11.6) id p4NIvRh13495; Mon, 23 May 2011 14:57:27 -0400 (EDT) From: Bruce Momjian Message-Id: <201105231857.p4NIvRh13495@momjian.us> Subject: Re: [BUGS] BUG #6034: pg_upgrade fails when it should not. In-Reply-To: To: Robert Haas Date: Mon, 23 May 2011 14:57:27 -0400 (EDT) CC: Tim Uckun , PostgreSQL-development X-Mailer: ELM [version 2.4ME+ PL124 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="US-ASCII" X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-0.861 tagged_above=-5 required=5 tests=BAYES_00=-1.9, DATE_IN_PAST_12_24=1.049, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201105/1129 X-Sequence-Number: 188163 Robert Haas wrote: > On Mon, May 23, 2011 at 8:26 AM, Bruce Momjian wrote: > > Sorry, I was unclear. ?The question is whether the case of _name_ of the > > locale is significant, meaning can you have two locale names that differ > > only by case and behave differently? > > That would seem surprising to me, but I really have no idea. > > There's the other direction, too: two locales that vary by something > more than case, but still have identical behavior. Maybe we just > decide not to worry about that, but then why worry about this? Well, if we remove the check then people could easily get broken upgrades by upgrading to a server with a different locale. A Google search seems to indicate the locale names are case-sensitive so I am thinking the problem is that the user didn't have exact locales, and needs that to use pg_upgrade. -- Bruce Momjian http://momjian.us EnterpriseDB http://enterprisedb.com + It's impossible for everything to be true. +