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