Re: tsearch2: How to use different configurations for two

From: Stephan Vollmer <svollmer(at)gmx(dot)de>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: tsearch2: How to use different configurations for two
Date: 2005-12-09 23:10:22
Message-ID: 439A0EDE.7040402@gmx.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

[Andrew, sorry for the PM - I pressed the wrong button.]

Andrew J. Kopciuch wrote:
>>You could write a one trigger for the table to handle both.
>
> Something like this :

[...]

> You can modify the function to be slightly more configurable with parameters
> taking the column names, and config names and make it a little more reusable.
> You can accomplish what you want though.

I'm a total beginner in regards to pgsql functions, so thanks a lot
for your example. When I have some time tomorrow, I'll try it out
and also take a look at the PL/pgSQL docs.

Thanks for your help,

- Stephan

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Jerry LeVan 2005-12-10 01:46:17 Update and bytea problem...
Previous Message Luciano Bastianello 2005-12-09 22:13:05 R: find last day of month