X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 32A62D7009 for ; Mon, 22 Aug 2005 11:10:55 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 35194-08 for ; Mon, 22 Aug 2005 14:10:51 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.205]) by svr1.postgresql.org (Postfix) with ESMTP id E40B2D6E73 for ; Mon, 22 Aug 2005 11:10:49 -0300 (ADT) Received: by wproxy.gmail.com with SMTP id i4so979390wra for ; Mon, 22 Aug 2005 07:10:55 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=B94BkHGaSaINhw416G+zQOZfy+2Yfa/0qMZdVvQz5pEioHORy7cDgcvAfsEgpUtAQIexL6wcP4ec967E83GGnPtLaii756U+uRVVMYRVKn0wuBxa4kCLHrwGb4knvDqGtevB17LRsSyBjNP8db4wzRrzHl63KfWYXREkz8sTuH8= Received: by 10.54.27.6 with SMTP id a6mr2986349wra; Mon, 22 Aug 2005 07:10:55 -0700 (PDT) Received: by 10.54.44.33 with HTTP; Mon, 22 Aug 2005 07:10:54 -0700 (PDT) Message-ID: <285af08705082207101029a56e@mail.gmail.com> Date: Mon, 22 Aug 2005 11:10:54 -0300 From: Maxi Combina To: pgsql-admin@postgresql.org Subject: regenereate data/ locales Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.024 required=5 tests=[RCVD_BY_IP=0.024] X-Spam-Level: X-Archive-Number: 200508/262 X-Sequence-Number: 18581 Hello, I am using postgresql 7.4.5, and was having some trouble with the initcap() function. The problem was the following: initcap('a=E9eou') =3D A=E9Eou, and I need initcap('a=E9eou') =3D A=E9eou, I found in the documentation that to correct this behaviour, I must run initdb --locale=3DSOMETHING. Well, I did it (with --locale=3Des_AR), and now it works! However, I could not did it in an easy way, because initdb complained saying that the data/ directory was not empty. So, I had to dump all my databases, remove the files from data/, run `initdb --locale=3Des_AR' and restore the databases. Is there any shorter way to change the locales? I didnot found any `recreate' or `regenerate' command. Regards, Maxi