localisation - collation sequencies

Поиск
Список
Период
Сортировка
От tövis
Тема localisation - collation sequencies
Дата
Msg-id 007f01c545f4$e555cf30$3401a8c0@mainxp
обсуждение исходный текст
Список pgsql-novice
I'm using PostgreSQL 7.4.x installed on Debian Sarge or testing distribution.
I'm realized that I does not set apropriate locale - for me, for now it is hu_HU ISO8859-2.
First of all I generated locale hu_HU and set as default (dpkg-reconfigure locales)
Try reconfigure postgresql - dpkg-reconfigure postgresql - but it is not solve the problem.
After long struggling on the WEB and exploring my home server I found initdb (it is quite hidden - /usr/lib/postgresql/bin/).
Stop postmaster - #/etc/init.d/postgresql stop.
Clean my old and wrong data "cluster" - /var/lib/postgres/data
As user "postgres" rebuild the cluster, with apropriate locale and password for user "postgres".
Restore links to settings in /etc/postgresql - pg_hba.conf, pg_ident.conf, postgresql.conf.
Start postmaster - #/etc/init.d/postgresql start
locale and collate is became well.
This is the right way? - nothing more simple (for my fortune no real database was there, I did not need to rebuild;o).
 

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

Предыдущее
От: tövis
Дата:
Сообщение: Re: records chaining
Следующее
От: Leif K-Brooks
Дата:
Сообщение: Performance of multiple queries?