Re: tsearch2: How to use different configurations for two

Поиск
Список
Период
Сортировка
От Stephan Vollmer
Тема Re: tsearch2: How to use different configurations for two
Дата
Msg-id 439A0EDE.7040402@gmx.de
обсуждение исходный текст
Ответ на Re: tsearch2: How to use different configurations for two columns?  ("Andrew J. Kopciuch" <akopciuch@bddf.ca>)
Список 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

Вложения

В списке pgsql-general по дате отправления:

Предыдущее
От: "Luciano Bastianello "
Дата:
Сообщение: R: find last day of month
Следующее
От: Jerry LeVan
Дата:
Сообщение: Update and bytea problem...