On Mon, 11 Aug 2003, Peter Eisentraut wrote:
> Alexey Mahotkin writes:
>
> > AFAIK, currently the codepoints are sorted in their numerical order. I've
> > searched the source code and could not find the actual place where this is
> > done. I've seen executor/nodeSort.c and utils/tuplesort.c. AFAIU, they
> > are generic sorting routines.
>
> PostgreSQL uses the operating system's locale routines for this. So the
> sort order depends on choosing a locale that can deal with Unicode.
>
sort order works, but upper/lower are broken.
>
Regards, Oleg
_____________________________________________________________
Oleg Bartunov, sci.researcher, hostmaster of AstroNet,
Sternberg Astronomical Institute, Moscow University (Russia)
Internet: oleg@sai.msu.su, http://www.sai.msu.su/~megera/
phone: +007(095)939-16-83, +007(095)939-23-83