Re: unicode regular insensitive matching - Mailing list pgsql-general

From Peter Eisentraut
Subject Re: unicode regular insensitive matching
Date
Msg-id Pine.LNX.4.30.0106282309580.724-100000@peter.localdomain
Whole thread Raw
In response to unicode regular insensitive matching  (Jan Poslusny <pajout@gingerall.cz>)
List 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@gmx.net   http://funkturm.homeip.net/~peter



pgsql-general by date:

Previous
From: "Steve Wolfe"
Date:
Subject: Re: Linux Software RAID 1 Performance (was:Re: Re: Slower on Solaris)
Next
From: "Oliver Elphick"
Date:
Subject: Re: Debian's PostgreSQL packages