pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bernhard Schrader <bernhard.schrader@innogames.de>
To: pgsql-admin@postgresql.org
Subject: LC_COLLATE and pg_upgrade
Date: Thu, 10 Feb 2011 17:56:58 +0100
Message-ID: <1297357018.2340.10.camel@schrader-laptop> (raw)

Hi all,

I just tried to pg_upgrade a PostgreSQL-8.4 to 9.0.

pg_upgrade stopped with this message:

"old and new cluster lc_collate values do not match"

So i checked the LC_COLLATE on 8.4 and 9.0:

8.4:
postgres=# show lc_collate;
lc_collate 
------------
en_US.utf8
(1 row)

9.0:
postgres=# show lc_collate;
lc_collate 
------------
en_US.UTF-8
(1 row)


Well... I think you see my problem, i don't even know if it is really a
problem... 

Is it possible just to change the lc_collate on the 8.4 machine?
Obviously its the same encoding, or am i wrong?

My second Question, but not that urgent is about two databases which
have LC_COLLATE=C, is there a safe way to get it to UTF-8? 

regards
Bernhard





view thread (6+ messages)  latest in thread

Message-ID: <1297357018.2340.10.camel@schrader-laptop>
Permalink:  ../1297357018.2340.10.camel@schrader-laptop/
Also on:    postgresql.org/message-id/1297357018.2340.10.camel@schrader-laptop

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: bernhard.schrader@innogames.de
  Subject: Re: LC_COLLATE and pg_upgrade
  In-Reply-To: <1297357018.2340.10.camel@schrader-laptop>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox