From: | Hannes Dorbath <light(at)theendofthetunnel(dot)de> |
---|---|
To: | "Tarabas (Manuel Rorarius)" <tarabas(at)tarabas(dot)de> |
Subject: | Re: Tsearch2 default locale on postgres 8.2 |
Date: | 2006-12-22 11:35:41 |
Message-ID: | 458BC30D.1050501@theendofthetunnel.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
I think the best way is to adjust the locale for your default config:
Type:
SHOW lc_ctype; (or some other lc_* variables) in psql.
to find your cluster locale, then:
UPDATE
public.pg_ts_cfg
SET
locale = '<your_locale>'
WHERE
ts_name = 'default';
On 22.12.2006 11:55, Tarabas (Manuel Rorarius) wrote:
> I am having a tsearch2 problem on postgres 8.2 again ...
> when I try to set the default config for tsearch2 with
>
> "select set_curcfg('default'); it works fine in the same pgadmin
> session when i use "select show_curcfg();" afterwards. The correct
> OID is shown.
>
> If i then close the query window and open a new one and then try
> the "select show_curcfg();" again, it states
> "ERROR: could not find tsearch config by locale"
>
> Any idea why the configuration is not saved correctly?
--
Regards,
Hannes Dorbath
From | Date | Subject | |
---|---|---|---|
Next Message | Tarabas (Manuel Rorarius) | 2006-12-22 11:36:08 | Re: Tsearch2 default locale on postgres 8.2 |
Previous Message | Teodor Sigaev | 2006-12-22 11:17:38 | Re: Tsearch2 default locale on postgres 8.2 |