Re: unicode regular insensitive matching

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Jan Poslusny <pajout(at)gingerall(dot)cz>
Cc: <pgsql-general(at)postgresql(dot)org>
Subject: Re: unicode regular insensitive matching
Date: 2001-06-28 21:13:23
Message-ID: Pine.LNX.4.30.0106282309580.724-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Jan Poslusny writes:

> then I initdb -E UNICODE,
> then I createdb -E UNICODE.

> select myfield from mytable where myfield ~* 'MiXeD national-specific
> characters' order by myfield
>
> is _NOT_ case insensitive and not ordered according to locales (if I
> create another db with LATIN2 charset, all is OK)

Unicode is only a character set. Issues like sorting and letter-case are
determined by the locale. You didn't say which locale you used or wanted
to use, what your input was and what ordering you expected, so there's not
a lot we can do for you.

--
Peter Eisentraut peter_e(at)gmx(dot)net http://funkturm.homeip.net/~peter

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Oliver Elphick 2001-06-28 21:34:19 Re: About pg_dump
Previous Message Alex Pilosov 2001-06-28 20:58:24 Re: Linux Software RAID 1 Performance (was:Re: Re: Slower on Solaris)