X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 7C0EC56510 for ; Mon, 14 Mar 2005 12:44:43 +0000 (GMT) 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 02239-01 for ; Mon, 14 Mar 2005 12:44:35 +0000 (GMT) Received: from unisoft.unisoftbg.com (unisoft.unisoftbg.com [194.12.229.193]) by svr1.postgresql.org (Postfix) with SMTP id 0D77752A64 for ; Mon, 14 Mar 2005 12:44:32 +0000 (GMT) Received: (qmail 70322 invoked by uid 1011); 14 Mar 2005 12:48:23 -0000 Received: from pginfo@t1.unisoftbg.com by unisoft.unisoftbg.com by uid 1009 with qmail-scanner-1.22-st-qms (clamdscan: 0.75. spamassassin: 2.60. Clear:RC:0(192.168.1.201):SA:0(-4.8/5.0):. Processed in 22.632688 secs); 14 Mar 2005 12:48:23 -0000 X-Antivirus-MYDOMAIN-Mail-From: pginfo@t1.unisoftbg.com via unisoft.unisoftbg.com X-Antivirus-MYDOMAIN: 1.22-st-qms (Clear:RC:0(192.168.1.201):SA:0(-4.8/5.0):. Processed in 22.632688 secs Process 70311) Received: from unknown (HELO t1.unisoftbg.com) (pginfo@t1.unisoftbg.com@192.168.1.201) by unisoft.unisoftbg.com with SMTP; 14 Mar 2005 12:47:59 -0000 Message-ID: <42357AA0.4090303@t1.unisoftbg.com> Date: Mon, 14 Mar 2005 12:50:56 +0100 From: pginfo User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 X-Accept-Language: en-us, en MIME-Version: 1.0 To: =?windows-1252?Q?Miroslav_=8Aulc?= Cc: pgsql-sql@postgresql.org Subject: Re: lower and unicode References: <423528B6.2070407@t1.unisoftbg.com> <42354812.7030106@startnet.cz> <42355BFC.4080409@t1.unisoftbg.com> <42356AB5.1010306@startnet.cz> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=2.009 tagged_above=0 required=5 tests=AWL, RCVD_IN_XBL X-Spam-Level: ** X-Archive-Number: 200503/197 X-Sequence-Number: 20676 Hi, I am using --no-locale by init db. I readet that if I am using some locale the pg will work very slow. Have you noticed some speed penalty by using cs_CZ.utf8. regards, ivan. Miroslav Šulc wrote: > pginfo wrote: > >> Hi, >> I am uusing pg 8.0.1 on FreeBSD 5.3 but I am ready t use the version >> taht supports correct unicode. > > > I think that should be fine. I use PostgreSQL 8.0.1 on Linux (Gentoo) > without these problems (I used cs_CZ.utf8 to init my db). What you > write seems to me that you have your database initialized to something > else than xy_XY.utf8 which must be used to have databases working > correctly with UNICODE. Try 'locale -a' and choose your locale that > has *.utf8 to initialize the database. Then things should be O.K. :-) > > I don't remember I've seen some note in documentation that users must > use for databases the same encoding as they used for initdb. If this > is true, it would be time saving to mention this in documentation (if > it is not already there). > >> >> regards, >> ivan. > > > Miroslav