Re: default_text_search_config and expression indexes

Alvaro Herrera <alvherre@commandprompt.com>

From: Alvaro Herrera <alvherre@commandprompt.com>
To: Oleg Bartunov <oleg@sai.msu.su>
Cc: tomas@tuxteam.de, Bruce Momjian <bruce@momjian.us>, Heikki Linnakangas <heikki@enterprisedb.com>, Ron Mayer <rm_pg@cheapcomplexdevices.com>, pgsql-hackers@postgresql.org
Date: 2007-08-14T13:25:03Z
Lists: pgsql-hackers
Oleg Bartunov wrote:
> On Thu, 9 Aug 2007, tomas@tuxteam.de wrote:
>
>> Maybe I'm missing something, but it seems to me that the configuration
>> is more attached to a column/index thatn to the whole database. If
>> there's a default in an expression, I'd rather expect this default to be
>> drawn from the index involved than from a global value (like a functional
>> index does now).
>
> I'm tired to repeat - index itself doesn't know about configuration !

Is there a way to change that?  For example store the configuration in a
metapage or something?

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support