Re: [ADMIN] pg_upgrade from 9.1.3 to 9.2 failed

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bruce Momjian <bruce(at)momjian(dot)us>
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, 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:44:36
Message-ID: 16081.1348501476@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-hackers

Bruce Momjian <bruce(at)momjian(dot)us> writes:
> On Mon, Sep 24, 2012 at 11:22:22AM -0400, Peter Eisentraut wrote:
>> 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.

It was not just a refactoring: we now pass the locale names through
setlocale() which we didn't before. See commit
c7cea267de3ca05b29a57b9d113b95ef3793c8d8.

regards, tom lane

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Tom Lane 2012-09-24 16:30:45 Re: CPU causes 100% load in user space when ntp client runs and postgresql is under heavy load
Previous Message Bruce Momjian 2012-09-24 15:30:40 Re: [ADMIN] pg_upgrade from 9.1.3 to 9.2 failed

Browse pgsql-hackers by date

  From Date Subject
Next Message Dimitri Fontaine 2012-09-24 16:20:25 Re: External Replication
Previous Message Bruce Momjian 2012-09-24 15:30:40 Re: [ADMIN] pg_upgrade from 9.1.3 to 9.2 failed