Re: How does the tsearch configuration get selected?

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Gregory Stark <stark@enterprisedb.com>
Cc: "Teodor Sigaev" <teodor@sigaev.ru>, "Bruce Momjian" <bruce@momjian.us>, "Michael Paesold" <mpaesold@gmx.at>, "Joshua D. Drake" <jd@commandprompt.com>, "Oleg Bartunov" <oleg@sai.msu.su>, pgsql-hackers@postgresql.org
Date: 2007-06-15T15:05:06Z
Lists: pgsql-hackers
Gregory Stark <stark@enterprisedb.com> writes:
> "Tom Lane" <tgl@sss.pgh.pa.us> writes:
>> It's not really the index's problem; IIUC the behavior of the gist and
>> gin index opclasses is not locale-specific.  It's the to_tsvector calls
>> that built the tsvector heap column that have a locale specified or
>> implicit.  We need some way of annotating the heap column about this.

> Maybe there should be a different type for each locale.

I had been idly wondering if we could do anything with using tsvector's
typmod for the purpose ...

			regards, tom lane