tsearch2 trigger

Поиск
Список
Период
Сортировка
От Joel Leyh
Тема tsearch2 trigger
Дата
Msg-id 7671eb7050421102712078e06@mail.gmail.com
обсуждение исходный текст
Список pgsql-general
I am writing a tsearch2 trigger function in plperl. I would like to
run a query similar to this:

setweight(to_tsvector(col1),'b') || setweight(to_tsvector(col2),'a')

and insert the result into the tsvector column. I know I can call
spi_exec_query('select ...') and insert the result, but is this the
best way of doing it? I need the trigger to be plperl since there is
some additional foo I am doing.
Thanks! --Joel

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

Предыдущее
От: mmiranda@americatel.com.sv
Дата:
Сообщение: Re: Most specific match using between
Следующее
От: "Steve - DND"
Дата:
Сообщение: Get timestamp as UTC