Re: How does the tsearch configuration get selected? - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: How does the tsearch configuration get selected?
Date
Msg-id 200706151426.l5FEQr601745@momjian.us
Whole thread Raw
In response to Re: How does the tsearch configuration get selected?  (Bruce Momjian <bruce@momjian.us>)
Responses Re: How does the tsearch configuration get selected?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Bruce Momjian wrote:
> My guess right now is that we use a GUC that will default if a
> pg_catalog configuration name matches the lc_ctype locale name, and we
> have to throw an error if an accessed index creation GUC doesn't match
> the current GUC.
> 
> So we create a pg_catalog full text configuration named UTF8.en-US, and
> some others like ru_RU.UTF-8.

Do locale names vary across operating systems?  If so, we might as well
skip trying to find a default.

--  Bruce Momjian  <bruce@momjian.us>          http://momjian.us EnterpriseDB
http://www.enterprisedb.com
 + If your life is a hard drive, Christ can be your backup. +


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: How does the tsearch configuration get selected?
Next
From: Tom Lane
Date:
Subject: Re: tsearch_core patch: permissions and security issues