Re: [ADMIN] pg_upgrade from 9.1.3 to 9.2 failed - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: [ADMIN] pg_upgrade from 9.1.3 to 9.2 failed
Date
Msg-id 1348403628.18490.1.camel@vanquo.pezone.net
Whole thread Raw
In response to Re: [ADMIN] pg_upgrade from 9.1.3 to 9.2 failed  (Rural Hunter <ruralhunter@gmail.com>)
Responses Re: [ADMIN] pg_upgrade from 9.1.3 to 9.2 failed
List pgsql-hackers
On Fri, 2012-09-21 at 17:16 +0800, Rural Hunter wrote:
> If I run initdb with '-E zh_CN.utf8', it will tell me there 
> is no such charset in the system.

Because that is the name of a locale, not an encoding.

>  I found a workaround to run initdb 
> with '--lc-collate=zh_CN.utf8 --lc-ctype=zh_CN.utf8 
> --lc-messages=zh_CN.utf8 --lc-monetary=zh_CN.utf8 
> --lc-numeric=zh_CN.utf8 --lc-time=zh_CN.utf8'. But the case problem is
> really confusing. 

Try initdb --locale='zn_CN.utf8'.




pgsql-hackers by date:

Previous
From: Satoshi Nagayasu
Date:
Subject: [PoC] load balancing in libpq
Next
From: Euler Taveira
Date:
Subject: Re: [PoC] load balancing in libpq