Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 36AC3B5D80A for ; Sun, 22 May 2011 20:48:29 -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 58142-10 for ; Sun, 22 May 2011 23:48:29 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from wwwmaster.postgresql.org (wwwmaster.postgresql.org [217.196.146.204]) by mail.postgresql.org (Postfix) with ESMTP id A308AB5D801 for ; Sun, 22 May 2011 20:48:28 -0300 (ADT) Received: from wwwmaster.postgresql.org (wwwmaster.postgresql.org [217.196.146.204]) by wwwmaster.postgresql.org (8.14.3/8.14.3) with ESMTP id p4MNmSXK024132 for ; Sun, 22 May 2011 23:48:28 GMT (envelope-from www@wwwmaster.postgresql.org) Received: (from www@localhost) by wwwmaster.postgresql.org (8.14.3/8.14.3/Submit) id p4MNmSwS024131; Sun, 22 May 2011 23:48:28 GMT (envelope-from www) Date: Sun, 22 May 2011 23:48:28 GMT Message-Id: <201105222348.p4MNmSwS024131@wwwmaster.postgresql.org> To: pgsql-bugs@postgresql.org Subject: BUG #6034: pg_upgrade fails when it should not. From: "Tim Uckun" Content-Type: text/plain; charset=utf-8 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 201105/149 X-Sequence-Number: 30288 The following bug has been logged online: Bug reference: 6034 Logged by: Tim Uckun Email address: timuckun@gmail.com PostgreSQL version: 8.4 Operating system: ubuntu linux Description: pg_upgrade fails when it should not. Details: pg_upgrade from 8.4 to 9.0 fails with the following error message. old and new cluster lc_collate values do not match on 8.4 show lc_collate outputs ------------ en_NZ.utf8 (1 row) on 9.0 it outputs ------------ en_NZ.UTF8 (1 row) So the difference seems to be in capitalization. Presumably they are the same collation with "different" names so it strikes me as odd that pg_upgrade would balk and refuse to upgrade the database. pg_upgrade should be able to tell that these are the same collations and go ahead with the upgrade. It also should give some indication of how to overcome the problem.