Re: tsearch2: more than one index per table?

Поиск
Список
Период
Сортировка
От Oleg Bartunov
Тема Re: tsearch2: more than one index per table?
Дата
Msg-id Pine.GSO.4.63.0511231055400.29329@ra.sai.msu.su
обсуждение исходный текст
Ответ на Re: tsearch2: more than one index per table?  (Teodor Sigaev <teodor@sigaev.ru>)
Список pgsql-general
On Wed, 23 Nov 2005, Teodor Sigaev wrote:

>> ERROR:  could not find tsearch config by locale
>> UPDATE t SET idxA=to_tsvector('default', a);
>>
>
> Is it working
> select to_tsvector('foo bar')?
>
> I suppose, no. In that case tsearch can't find configuration for current
> database locale, update pg_ts_cfg.locale in wished row to correct value.

Actually, it's described in tsearch2 introduction.
Make sure pg_ts_cfg.locale matched server's locale (see 'show all')


     Regards,
         Oleg
_____________________________________________________________
Oleg Bartunov, sci.researcher, hostmaster of AstroNet,
Sternberg Astronomical Institute, Moscow University (Russia)
Internet: oleg@sai.msu.su, http://www.sai.msu.su/~megera/
phone: +007(095)939-16-83, +007(095)939-23-83

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

Предыдущее
От: Script Head
Дата:
Сообщение: Strugging with NEW and OLD records.
Следующее
От: Bjørn T Johansen
Дата:
Сообщение: Logging prepared statements in 8.1?