Re: lower and unicode

From: pginfo <pginfo(at)t1(dot)unisoftbg(dot)com>
To: Miroslav Šulc <miroslav(dot)sulc(at)startnet(dot)cz>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: lower and unicode
Date: 2005-03-14 11:50:56
Message-ID: 42357AA0.4090303@t1.unisoftbg.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

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

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Miroslav Šulc 2005-03-14 12:57:35 Re: lower and unicode
Previous Message KÖPFERL Robert 2005-03-14 11:26:16 How does the planner treat a table function.