Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 5176F1337BC3 for ; Wed, 16 Feb 2011 09:06:57 -0400 (AST) 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 52699-01 for ; Wed, 16 Feb 2011 13:06:50 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mailout-de.gmx.net (mailout-de.gmx.net [213.165.64.23]) by mail.postgresql.org (Postfix) with SMTP id 353C11337B68 for ; Wed, 16 Feb 2011 09:06:46 -0400 (AST) Received: (qmail invoked by alias); 16 Feb 2011 13:06:46 -0000 Received: from fsgw.f-secure.com (EHLO [10.128.133.18]) [193.110.108.33] by mail.gmx.net (mp023) with SMTP; 16 Feb 2011 14:06:46 +0100 X-Authenticated: #495269 X-Provags-ID: V01U2FsdGVkX1/23aohfTn2UW7YXQSY3cm1eTHPCkpZE/oPj5kdiO dE8zkVtZ332JOZ Subject: Re: LC_COLLATE and pg_upgrade From: Peter Eisentraut To: Bernhard Schrader Cc: pgsql-admin@postgresql.org In-Reply-To: <1297858458.2367.11.camel@schrader-laptop> References: <1297357018.2340.10.camel@schrader-laptop> <1297689493.2293.5.camel@schrader-laptop> <1297857285.8578.1.camel@fsopti579.F-Secure.com> <1297858458.2367.11.camel@schrader-laptop> Content-Type: text/plain; charset="UTF-8" Date: Wed, 16 Feb 2011 15:06:45 +0200 Message-ID: <1297861605.8578.3.camel@fsopti579.F-Secure.com> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.909 tagged_above=-10 required=5 tests=BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201102/148 X-Sequence-Number: 36787 On ons, 2011-02-16 at 13:14 +0100, Bernhard Schrader wrote: > If i reinitialize the database cluster, won't i have to pg_dump restore > my data? In this case the downtime would be to big. Therefore I'm > searching for a faster way. I said reinitialize your new database cluster. Since you're running pg_upgrade, I assume your new cluster has no data in it worth keeping. > utf8 and UTF-8, should be the same in my opinion, so i think there must > be a way to just change this value, so that pg_upgrade can do his work, > or is this impossible? No, you can't change it with any reasonable effort. (You can manually edit pg_control and recalculate the checksum, if you must. Don't do that, though.)