Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id D986DB5DBDE for ; Wed, 25 May 2011 17:42:15 -0300 (ADT) 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 84139-02 for ; Wed, 25 May 2011 20:42:08 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id 1545EB5DBBF for ; Wed, 25 May 2011 17:42:07 -0300 (ADT) 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 p4PKg3HZ027052; Wed, 25 May 2011 16:42:04 -0400 (EDT) To: Robert Haas cc: Bruce Momjian , Alvaro Herrera , Tim Uckun , PostgreSQL-development Subject: Re: [BUGS] BUG #6034: pg_upgrade fails when it should not. In-reply-to: References: <1306345507-sup-5220@alvh.no-ip.org> <201105251813.p4PIDDl07098@momjian.us> Comments: In-reply-to Robert Haas message dated "Wed, 25 May 2011 14:55:13 -0400" Date: Wed, 25 May 2011 16:42:03 -0400 Message-ID: <27051.1306356123@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-5 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201105/1319 X-Sequence-Number: 188353 Robert Haas writes: > On Wed, May 25, 2011 at 2:13 PM, Bruce Momjian wrote: >> I thought the problem was that they upgraded the OS and now the encoding >> names changed, though they behaved the same.  Is that now what is >> happening?  Can they supply the values with different cases? > Oh, hmm. I don't know. The original complaint wasn't too clear. But I agree with Robert that case-insensitive comparison is about as far as it seems safe to go in trying to allow for variant spellings of locale names. I would think that a platform that randomly whacks such names around is going to find a whole lot of software breaking, not only Postgres. regards, tom lane