suitable text search configuration - Mailing list pgsql-hackers

From Alvaro Herrera
Subject suitable text search configuration
Date
Msg-id 20071024195112.GM6559@alvh.no-ip.org
Whole thread Raw
Responses Re: suitable text search configuration
List 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)


pgsql-hackers by date:

Previous
From: Simon Riggs
Date:
Subject: Re: second DML operation fails with updatable cursor
Next
From: "Roberto Icardi"
Date:
Subject: Re: pgadmin debug on windows