From: | Sergey Konoplev <gray(dot)ru(at)gmail(dot)com> |
---|---|
To: | Rich Shepard <rshepard(at)appl-ecosys(dot)com> |
Cc: | pgsql-general <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: Upgrade: 9.0.5->9.4 |
Date: | 2014-03-21 16:47:03 |
Message-ID: | CAL_0b1v+mm_GJGUdxRpEDdBn0e0MA2W9-4foKXP-n4-3pwcVQw@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Fri, Mar 21, 2014 at 9:34 AM, Rich Shepard <rshepard(at)appl-ecosys(dot)com> wrote:
> Postgresql-9.0.5 is installed in /usr/local/pgsql/ and -9.4's data/
> subdirectory is installed in /var/lib/pgsql/9.4/ with the executable in
> /usr/bin/.
>
> Running pg_upgrade fails at the end because of a locale difference:
>
> lc_ctype cluster values do not match: old "C", new "en_US.UTF-8"
> Failure, exiting
>
> How do I remedy this?
Drop your newly created 9.4 cluster dir and re-init it with C locale like this:
initdb --locale=C -D ...
--
Kind regards,
Sergey Konoplev
PostgreSQL Consultant and DBA
http://www.linkedin.com/in/grayhemp
+1 (415) 867-9984, +7 (901) 903-0499, +7 (988) 888-1979
gray(dot)ru(at)gmail(dot)com
From | Date | Subject | |
---|---|---|---|
Next Message | Rich Shepard | 2014-03-21 16:49:47 | Re: Upgrade: 9.0.5->9.4 |
Previous Message | Rich Shepard | 2014-03-21 16:34:10 | Upgrade: 9.0.5->9.4 |