Re: tsearch2: How to use different configurations for two - Mailing list pgsql-general

From Stephan Vollmer
Subject Re: tsearch2: How to use different configurations for two
Date
Msg-id 439B5D77.8050402@gmx.de
Whole thread Raw
In response to Re: tsearch2: How to use different configurations for two columns?  ("Andrew J. Kopciuch" <akopciuch@bddf.ca>)
List pgsql-general
Andrew J. Kopciuch wrote:
>>You could write a one trigger for the table to handle both.
>
> Something like this :
[...]
> CREATE OR REPLACE FUNCTION multi_tsearch2() RETURNS TRIGGER AS '
[...]
I tested the function today and it's exactly what I had in mind.
Works perfectly!

Thanks, Stephan

Attachment

pgsql-general by date:

Previous
From: William Yu
Date:
Subject: Re: Maximum number of tables per database and slowness
Next
From: Benjamin Arai
Date:
Subject: Performance large tables.