Re: LC_COLLATE and pg_upgrade

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Bernhard Schrader <bernhard(dot)schrader(at)innogames(dot)de>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: LC_COLLATE and pg_upgrade
Date: 2011-02-16 11:54:45
Message-ID: 1297857285.8578.1.camel@fsopti579.F-Secure.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On mån, 2011-02-14 at 14:18 +0100, Bernhard Schrader wrote:
> As far as I read right now, LC_COLLATE is a read_only variable which
> is used while initdb. But why does the pg_upgrade script doesn't see
> that utf8 and UTF-8 are the same? Is it just a string compare?

Why don't you just reinitialize your new database cluster with the same
locale spelling as the old one?

Your points are valid, but unfortunately difficult to handle in the
general case.

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Bernhard Schrader 2011-02-16 12:14:18 Re: LC_COLLATE and pg_upgrade
Previous Message Achilleas Mantzios 2011-02-16 09:11:44 Re: cp1250 problem