Re: LATIN2 ORDER BY

From: Pavel Stehule <stehule(at)kix(dot)fsv(dot)cvut(dot)cz>
To: Kristóf Kontor <kontor_kristof(at)hotmail(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: LATIN2 ORDER BY
Date: 2002-08-29 20:18:41
Message-ID: Pine.LNX.4.44.0208292215500.12879-100000@kix.fsv.cvut.cz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

If you seted locales after initdb, then you can have this problem. Try
dump data, remove files in db directory (/usr/local/pgsql/data), check
locales again :->, and initdb -D /usr/local/pgsql/data.

Pavel

On Wed, 28 Aug 2002, Kristóf Kontor wrote:

> Hi !
>
> My problem is that i have LATIN2 encoding in my postgres and
> ISO-8859-2 charset on my linux, but when i'am ordering strings
> in psql with acutes it does not work properly...
> (psql version = 7.1, linux = debian woody)
>
> Example:
> SELECT name FROM table ORDER BY name;
> Aaaaaa
> Bbbbbb
> Áááááá
> ...
>
> I have set evrything on my linux, the 'locale' settings are
> good, the keyboard and console settings are working well,
> with acutes characters, but in the psql it doesent work...
> Can you help me or sending a link or a reference in the
> documentation, cause i cant find anything about this just a few
> row about the locale setting ?
> This is a Linux problem or just a setting in the postgres ?
> What should i reconfig do correct this problem ?
>
> Thanks !
>
>
> _________________________________________________________________
> MSN Photos is the easiest way to share and print your photos:
> http://photos.msn.com/support/worldwide.aspx
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
> (send "unregister YourEmailAddressHere" to majordomo(at)postgresql(dot)org)
>

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Peter Eisentraut 2002-08-29 22:12:59 Re: Command-line client sometimes misinterprets tabs for
Previous Message Bruce Momjian 2002-08-29 18:27:43 Re: VU#352803 - postgresql