Re: tsvector_update_trigger throws error "column is not of tsvector type"

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: tsvector_update_trigger throws error "column is not of tsvector type"
Дата
Msg-id 3783.1207677441@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: tsvector_update_trigger throws error "column is not of tsvector type"  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: tsvector_update_trigger throws error "column is not of tsvector type"
Список pgsql-general
I wrote:
> Would you confirm that
> select atttypid from pg_attribute where attrelid = 'public.ct_com_board_message'::regclass and attname = 'idxfti';
> gives 3614 (the preassigned OID for pg_catalog.tsvector)?

Actually, I'll bet a nickel that you'll find it doesn't, but rather
returns the OID of the domain over tsvector that the new
contrib/tsearch2 module creates.  It's clearly a bug that the built-in
trigger doesn't allow the domain alias to be used --- will fix.

            regards, tom lane

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

Предыдущее
От: "Mikko Partio"
Дата:
Сообщение: Re: "too many trigger records found for relation xyz"
Следующее
От: Shane Ambler
Дата:
Сообщение: Re: High Availability / Replication with Sequoia