Re: Can LIKE under utf8 use INDEXes? - Mailing list pgsql-general

From Andreas Wenk
Subject Re: Can LIKE under utf8 use INDEXes?
Date
Msg-id 4A679D81.403@netzmeister-st-pauli.de
Whole thread Raw
In response to Re: Can LIKE under utf8 use INDEXes?  (Andreas Wenk <a.wenk@netzmeister-st-pauli.de>)
List pgsql-general
Andreas Wenk wrote:
> Robert James wrote:
>> Thanks - I don't show any locale:
>> rbt_development=> \l
>>   List of databases
>>   Name | Owner | Encoding
>> ----------------------------+---------------------+----------
>>  rbt_development | rbt | UTF8
>>  ...
>
> ahm - you are running pg 8.2. There I think the + option is not
> available (\l+). So if you use a debian based system and installed it
> via the package manager apt or aptitude you could give this a try:
>
> /usr/lib/postgresql/8.2/bin/pg_controldata \
> /var/lib/postgresql/8.2/main/ |grep LC
>
> This should output something like:
>
> LC_COLLATE:    de_DE.UTF-8
> LC_CTYPE:      de_DE.UTF-8
>
> I hope this helps a little ...
>
> Cheers
>
> Andy
>
> P.S.: top posting is ugly ;-)

more correct: \l+ is also available in 8.2 but the output in 8.4 is
extended ...

Cheers

Andy


pgsql-general by date:

Previous
From: Andreas Wenk
Date:
Subject: Re: Can LIKE under utf8 use INDEXes?
Next
From: Tom Lane
Date:
Subject: Re: Can LIKE under utf8 use INDEXes?