Re: tserach2 could not find locale

Поиск
Список
Период
Сортировка
От Vishal Kashyap
Тема Re: tserach2 could not find locale
Дата
Msg-id 77b69d210603160331s34c3cfb8pecfda57048cfa2a5@mail.gmail.com
обсуждение исходный текст
Ответ на tserach2 could not find locale  ("Vishal Kashyap " <vishalonlist@gmail.com>)
Список pgsql-admin
Dear Oleg,

Thanks Oleg

> use en_US.UTF-8
it works as I did

test_db=# update pg_ts_cfg set locale = 'en_US.UTF-8';

So to summarize

if you recive a error like

ERROR: could not find tsearch config by locale INSERT INTO mm_message (

Then log into the server and run the query

test_db=# show all;

 lc_collate                     | C
 lc_ctype                       | en_US.UTF-8          <<<<- For
tsearch2 set to this
 lc_messages                    | en_US
 lc_monetary                    | en_US
 lc_numeric                     | en_US
 lc_time                        | en_US
 listen_addresses               | localhost


--
With Best Regards,
Vishal Kashyap.
http://www.vishal.net.in

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

Предыдущее
От: Oleg Bartunov
Дата:
Сообщение: Re: tserach2 could not find locale
Следующее
От: Jerry Sievers
Дата:
Сообщение: Curious run-away index build on upgrade to 8.1.3