On Dec 21 11:01, Anna Domachowska wrote:
> I've got a problem with sorting polish words in postgresql 7.4.2
> For example, I've got couple of polish cities in my table 'x',
> results of sorting are:
> (select city from x order by city asc)
> So "?arnów" is placed in wrong place, because it should be found
> after letter "Z" ??
> What's wrong? Is there any patch to fix this? Does anybody had
> similar problem?
> I belive that postgres was compiled with "--enable-locale", and the
> right locale is set.
Beside previous suggestions, I'm curious about your libc version too.
PostgreSQL relies on system locale while making character related
processes - like case conversion, collation and etc. Does below
command set succeed in sorting above data:
$ export LC_COLLATE=<related_locale>
$ cat >/tmp/test.out <<EOF
$ sort /tmp/test.out
If above command set doesn't succeed, this means your problem is with
libc. Otherwise, as mentioned in the previous posts, please check your
"We are the middle children of history, raised by television to believe
that someday we'll be millionaires and movie stars and rock stars, but
we won't. And we're just learning this fact," Tyler said. "So don't
fuck with us."
In response to
pgsql-novice by date
|Next:||From: Tim Baumgartner||Date: 2005-12-22 15:23:57|
|Subject: long transaction with concurrent SELECT statements|
|Previous:||From: Oleg||Date: 2005-12-22 12:06:12|
|Subject: Re: transfer database from Linux to Windows|
pgsql-hackers by date
|Next:||From: Tom Lane||Date: 2005-12-22 15:40:24|
|Subject: Re: Unsplitting btree index leaf pages |
|Previous:||From: Simon Riggs||Date: 2005-12-22 14:31:33|
|Subject: WAL bypass for INSERT, UPDATE and DELETE?|