Anton,
you can communicate with me in Russian.
Quick questions:
1. what's the ouput of 'psql -l'
2. Did you compile postgresql yourself and which options you
used.
3. did you setup locale environment before starting
postmaster
4. Could you check if locale is working on your systems
Regards,
Oleg
On Sat, 7 Oct 2000, Anton Kalauzky wrote:
> Date: Sat, 07 Oct 2000 08:58:42 GMT
> From: Anton Kalauzky <kalauzky@hotmail.com>
> To: pgsql-admin@postgreSQL.org, pgsql-general@postgreSQL.org
> Subject: [ADMIN] PostgreSQL encoding question
>
> Dear friends,
>
> I have two PC's with exactly the same configurations - one in my office and
> the other at home. They are running RedHat Linux 6.2 and PostgreSQL included
> in distribution. The first one I recently installed by upgrading from Linux
> 6.1 and the for the second one I went through full installation process.
>
> I have also exactly the same db's, tables and row's in PostgreSQL. All my
> data's are completely equal. Recently found that when I invoke SQL command
> "SELECT * FROM nst ORDER BY name;" I have different answers on my systems. I
> would like to mention that I use KOI8 (RUSSIAN) encoding. The 1-st one puts
> English before Russian, it's ok because they have less ASCII codes. But the
> 2-nd one is little strange. It sorts Russian characters truely but puts
> digits and English after Russian. Here it is some outscreen:
>
> SELECT name,id FROM nst ORDER BY name;
> -----------
> ВИНО
> МОНИТОР
> ВИНО 1971
> МОНИТОР 15"
> Telephone
> Windows
>
> I found some SET commands but they didn't gave me any result.
>
> So, do you have any idea about solving this problem? Thank you for your
> time.
>
> All the best.
> Anton Kalauzki
> _________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
>
> Share information about yourself, create your own public profile at
> http://profiles.msn.com.
>
_____________________________________________________________
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