pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedtserach2 could not find locale
3+ messages / 2 participants
[nested] [flat]
* tserach2 could not find locale
@ 2006-03-16 10:04 Vishal Kashyap <vishalonlist@gmail.com>
2006-03-16 10:12 ` Re: tserach2 could not find locale Oleg Bartunov <oleg@sai.msu.su>
0 siblings, 1 reply; 3+ messages in thread
From: Vishal Kashyap @ 2006-03-16 10:04 UTC (permalink / raw)
To: pgsql-admin
Hi all ,
tsearch2 is giving me jitters for days now and after full
investigation I am writting into list.
The error is
<code>
ERROR: could not find tsearch config by locale INSERT INTO mm_message (
</code>
The investigation is
my_db=# select * from pg_ts_cfg;
ts_name | prs_name | locale
-----------------+----------+--------------
default | default | C
default_english | default | en_US
default_russian | default | ru_RU.KOI8-R
simple | default |
postresql.conf file says
lc_messages = 'en_US' # locale for system error message strings
lc_monetary = 'en_US' # locale for monetary formatting
lc_numeric = 'en_US' # locale for number formatting
lc_time = 'en_US' # locale for time formatting
Please guide me how do I get rid of this error
--
With Best Regards,
Vishal Kashyap.
http://www.vishal.net.in
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: tserach2 could not find locale
2006-03-16 10:04 tserach2 could not find locale Vishal Kashyap <vishalonlist@gmail.com>
@ 2006-03-16 10:12 ` Oleg Bartunov <oleg@sai.msu.su>
2006-03-16 11:31 ` Re: tserach2 could not find locale Vishal Kashyap <vishalonlist@gmail.com>
0 siblings, 1 reply; 3+ messages in thread
From: Oleg Bartunov @ 2006-03-16 10:12 UTC (permalink / raw)
To: Vishal Kashyap <vishalonlist@gmail.com>; +Cc: pgsql-admin
Read
http://www.sai.msu.su/~megera/oddmuse/index.cgi/Tsearch_V2_Notes
and provide us more info about your setup.
Check 'show all' output for locale setup
Oleg
On Thu, 16 Mar 2006, Vishal Kashyap wrote:
> Hi all ,
>
> tsearch2 is giving me jitters for days now and after full
> investigation I am writting into list.
>
> The error is
> <code>
> ERROR: could not find tsearch config by locale INSERT INTO mm_message (
> </code>
> The investigation is
>
> my_db=# select * from pg_ts_cfg;
> ts_name | prs_name | locale
> -----------------+----------+--------------
> default | default | C
> default_english | default | en_US
> default_russian | default | ru_RU.KOI8-R
> simple | default |
>
> postresql.conf file says
>
> lc_messages = 'en_US' # locale for system error message strings
> lc_monetary = 'en_US' # locale for monetary formatting
> lc_numeric = 'en_US' # locale for number formatting
> lc_time = 'en_US' # locale for time formatting
>
>
>
> Please guide me how do I get rid of this error
> --
> With Best Regards,
> Vishal Kashyap.
> http://www.vishal.net.in
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Have you searched our list archives?
>
> http://archives.postgresql.org
>
Regards,
Oleg
_____________________________________________________________
Oleg Bartunov, Research Scientist, Head of AstroNet (www.astronet.ru),
Sternberg Astronomical Institute, Moscow University, Russia
Internet: oleg@sai.msu.su, http://www.sai.msu.su/~megera/
phone: +007(495)939-16-83, +007(495)939-23-83
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: tserach2 could not find locale
2006-03-16 10:04 tserach2 could not find locale Vishal Kashyap <vishalonlist@gmail.com>
2006-03-16 10:12 ` Re: tserach2 could not find locale Oleg Bartunov <oleg@sai.msu.su>
@ 2006-03-16 11:31 ` Vishal Kashyap <vishalonlist@gmail.com>
0 siblings, 0 replies; 3+ messages in thread
From: Vishal Kashyap @ 2006-03-16 11:31 UTC (permalink / raw)
To: Oleg Bartunov <oleg@sai.msu.su>; 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
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2006-03-16 11:31 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2006-03-16 10:04 tserach2 could not find locale Vishal Kashyap <vishalonlist@gmail.com>
2006-03-16 10:12 ` Oleg Bartunov <oleg@sai.msu.su>
2006-03-16 11:31 ` Vishal Kashyap <vishalonlist@gmail.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox