suitable text search configuration

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: suitable text search configuration
Date: 2007-10-24 19:51:12
Message-ID: 20071024195112.GM6559@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

Is initdb supposed to pick up reasonable TS configurations in general?

If so, it's failing for me:

initdb: could not find suitable text search configuration for locale fr_CA.UTF-8
The default text search configuration will be set to "simple".

It fails for es_CL as well.

... oh, I see there's a table in initdb.c

Are we supposed to add entries to it, one for each country? I'm
wondering if we should try to match the part before the _ using just the
language, if the complete match fails. (i.e. match "es_CL" using just
"es", "fr_CA" using just "fr", etc).

--
Alvaro Herrera http://www.PlanetPostgreSQL.org/
"When the proper man does nothing (wu-wei),
his thought is felt ten thousand miles." (Lao Tse)

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Roberto Icardi 2007-10-24 20:12:57 Re: pgadmin debug on windows
Previous Message Simon Riggs 2007-10-24 19:32:41 Re: second DML operation fails with updatable cursor