Re: tsearch in core patch

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Teodor Sigaev <teodor(at)sigaev(dot)ru>
Cc: Bruce Momjian <bruce(at)momjian(dot)us>, Hannu Krosing <hannu(at)skype(dot)net>, Pgsql Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: tsearch in core patch
Date: 2007-06-22 14:28:37
Message-ID: 21775.1182522517@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Teodor Sigaev <teodor(at)sigaev(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message PFC 2007-06-22 14:33:45 Re: Worries about delayed-commit semantics
Previous Message Alvaro Herrera 2007-06-22 14:28:26 Re: tsearch in core patch