Re: tsearch in core patch - Mailing list pgsql-hackers

From Tom Lane
Subject Re: tsearch in core patch
Date
Msg-id 21775.1182522517@sss.pgh.pa.us
Whole thread Raw
In response to Re: tsearch in core patch  (Teodor Sigaev <teodor@sigaev.ru>)
Responses Re: tsearch in core patch  (Michael Glaesemann <grzm@seespotcode.net>)
List pgsql-hackers
Teodor Sigaev <teodor@sigaev.ru> writes:
>> I don't think we are going to do language selection automatically ---
>> the user is going to have to set tsearch_conf_name.

> Are you suggest to remove long-lived feature of tsearch? In that case we don't 
> need cfglocale (or cfglanguage as Tom suggested) and cfgdefault columns in 
> pg_ts_cfg at all. Just set up tsearch_conf_name.

Is the point here for initdb to be able to establish a sane default
initially?  Seems to me it can guess the language from the first
component of the locale (ru_RU -> russian).
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Worries about delayed-commit semantics
Next
From: Alvaro Herrera
Date:
Subject: Re: tsearch in core patch