Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 576D21337B92 for ; Wed, 20 Apr 2011 04:08:08 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 63113-04 for ; Wed, 20 Apr 2011 07:08:01 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from exprod7og101.obsmtp.com (exprod7og101.obsmtp.com [64.18.2.155]) by mail.postgresql.org (Postfix) with ESMTP id 64C8F1337B82 for ; Wed, 20 Apr 2011 04:08:00 -0300 (ADT) Received: from mail-ey0-f179.google.com ([209.85.215.179]) (using TLSv1) by exprod7ob101.postini.com ([64.18.6.12]) with SMTP ID DSNKTa6GT75+hT2FZC1TLQIiQfTuSxAt2tfK@postini.com; Wed, 20 Apr 2011 00:08:00 PDT Received: by eyg5 with SMTP id 5so168365eyg.24 for ; Wed, 20 Apr 2011 00:07:58 -0700 (PDT) Received: by 10.14.122.81 with SMTP id s57mr2582261eeh.195.1303283276768; Wed, 20 Apr 2011 00:07:56 -0700 (PDT) Received: from [192.168.1.183] (dsl-hkibrasgw2-ff7ac300-240.dhcp.inet.fi [88.195.122.240]) by mx.google.com with ESMTPS id x54sm437563eeh.26.2011.04.20.00.07.52 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 20 Apr 2011 00:07:53 -0700 (PDT) Message-ID: <4DAE8647.9020207@enterprisedb.com> Date: Wed, 20 Apr 2011 10:07:51 +0300 From: Heikki Linnakangas User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; fi-FI; rv:1.9.1.16) Gecko/20110307 Icedove/3.0.11 MIME-Version: 1.0 To: yulei CC: pgsql-bugs@postgresql.org, Hiroshi Inoue Subject: Re: BUG #5818: initdb lose the single quote of locale References: <201101070642.p076ggoG059006@wwwmaster.postgresql.org> In-Reply-To: <201101070642.p076ggoG059006@wwwmaster.postgresql.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-5 required=5 tests=BAYES_00=-1.9 X-Spam-Level: X-Archive-Number: 201104/140 X-Sequence-Number: 30059 On 07.01.2011 08:42, yulei wrote: > > The following bug has been logged online: > > Bug reference: 5818 > Logged by: yulei > Email address: yu1ei@hotmail.com > PostgreSQL version: 9.0.2 > Operating system: Windows XP Service Pack 3 > Description: initdb lose the single quote of locale > Details: > > Hi,dear developers! > I am using a chinses window xp os. > i run "initdb -E UTF-8 -D temp" in cmd,it can get the > locale:"Chinese_People's Republic of China.936"。 > > but when initdb creating template1 , it lose the single quote of locale,it > use "Chinese_Peoples Republic of China.936"(notice that , it lose the ' > after "Chinese_People" ) for the "template1" record's > “datcollate”,“datctype” Column in tablepg_database。 Fixed. Thanks for the report, and sorry for the delay. The fix will appear in the next minor version. -- Heikki Linnakangas EnterpriseDB http://www.enterprisedb.com