Teodor Sigaev <teodor@sigaev.ru> writes:
>> 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.
> It seems too restrictive to advanced users.
Hm, are you trying to say that it's sane to have different tsvectors in
a column computed under different language settings? Maybe we're all
overthinking the problem. If the tsvector representation is presumed
language-independent then I could see this being a workable approach.
regards, tom lane