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