pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Vishal Kashyap <vishalonlist@gmail.com>
To: Oleg Bartunov <oleg@sai.msu.su>
To: pgsql-admin@postgresql.org
Subject: Re: tserach2 could not find locale
Date: Thu, 16 Mar 2006 17:01:47 +0530
Message-ID: <77b69d210603160331s34c3cfb8pecfda57048cfa2a5@mail.gmail.com> (raw)
In-Reply-To: <Pine.GSO.4.63.0603161423410.22593@ra.sai.msu.su>
References: <77b69d210603160204x6f487c96oc3fe933bc32a8c04@mail.gmail.com>
	<Pine.GSO.4.63.0603161310350.22593@ra.sai.msu.su>
	<77b69d210603160320t1d13a319h4df38200c0aff61a@mail.gmail.com>
	<Pine.GSO.4.63.0603161423410.22593@ra.sai.msu.su>

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



view thread (3+ messages)

Message-ID: <77b69d210603160331s34c3cfb8pecfda57048cfa2a5@mail.gmail.com>
Permalink:  ../77b69d210603160331s34c3cfb8pecfda57048cfa2a5@mail.gmail.com/
Also on:    postgresql.org/message-id/77b69d210603160331s34c3cfb8pecfda57048cfa2a5@mail.gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: vishalonlist@gmail.com, oleg@sai.msu.su
  Subject: Re: tserach2 could not find locale
  In-Reply-To: <77b69d210603160331s34c3cfb8pecfda57048cfa2a5@mail.gmail.com>
  References: <77b69d210603160204x6f487c96oc3fe933bc32a8c04@mail.gmail.com> <Pine.GSO.4.63.0603161310350.22593@ra.sai.msu.su> <77b69d210603160320t1d13a319h4df38200c0aff61a@mail.gmail.com> <Pine.GSO.4.63.0603161423410.22593@ra.sai.msu.su> <77b69d210603160331s34c3cfb8pecfda57048cfa2a5@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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