PostgreSQL encoding question

Поиск
Список
Период
Сортировка
От Anton Kalauzky
Тема PostgreSQL encoding question
Дата
Msg-id F819IuXZ2y2Fko8C7wy00009ae9@hotmail.com
обсуждение исходный текст
Ответы Re: [ADMIN] PostgreSQL encoding question  (Oleg Bartunov <oleg@sai.msu.su>)
Список pgsql-general
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.


В списке pgsql-general по дате отправления:

Предыдущее
От: Stephan Szabo
Дата:
Сообщение: Re: VIEW problem
Следующее
От: stephane@u-picardie.fr
Дата:
Сообщение: MD5 hash function for PostgreSQL