From: | Bruce Momjian <bruce(at)momjian(dot)us> |
---|---|
To: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
Cc: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Rural Hunter <ruralhunter(at)gmail(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: [ADMIN] pg_upgrade from 9.1.3 to 9.2 failed |
Date: | 2012-09-24 15:30:40 |
Message-ID: | 20120924153039.GH21242@momjian.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin pgsql-hackers |
On Mon, Sep 24, 2012 at 11:22:22AM -0400, Peter Eisentraut wrote:
> On 9/24/12 11:04 AM, Tom Lane wrote:
> > Bruce Momjian <bruce(at)momjian(dot)us> writes:
> >> Well, if you run that query on template0 in the old and new cluster, you
> >> will see something different in the two of them. Could you have used
> >> default in one and a non-dash in the other. Did we change the way we
> >> canonicalize the locale between 9.1 and 9.2?
> >
> > IIRC, we didn't try to canonicalize locale names at all before 9.2.
> > That initdb code you're quoting is of fairly recent vintage.
>
> initdb has changed POSIX to C with glibc at least since 8.3. The code
> you're quoting is just a refactoring, AFAICT.
Frankly, I assumed the values assigned in pg_database for template0 were
canonical. Tom is saying that canonicalization behavior changed
between 9.1 to 9.2, and the user is reporting this.
--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com
+ It's impossible for everything to be true. +
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2012-09-24 15:44:36 | Re: [ADMIN] pg_upgrade from 9.1.3 to 9.2 failed |
Previous Message | Bruce Momjian | 2012-09-24 15:28:59 | Re: [ADMIN] pg_upgrade from 9.1.3 to 9.2 failed |
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2012-09-24 15:44:36 | Re: [ADMIN] pg_upgrade from 9.1.3 to 9.2 failed |
Previous Message | Bruce Momjian | 2012-09-24 15:28:59 | Re: [ADMIN] pg_upgrade from 9.1.3 to 9.2 failed |