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 2949.1207673963@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: tsvector_update_trigger throws error "column is not of tsvector type"  ("Markus Wollny" <Markus.Wollny@computec.de>)
Ответы Re: tsvector_update_trigger throws error "column is not of tsvector type"  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
"Markus Wollny" <Markus.Wollny@computec.de> writes:
> So everything's working as expected apart from that built-in trigger function.

Well, that's just strange.  I tried to duplicate your example without
any success (ie, it worked fine) --- although it seemed you hadn't
shown the trigger definition exactly.  I got a syntax error because
'pg_catalog.german' wasn't quoted, and after that an error about
column user_login not existing.  But I assume these are just typos
in your message.

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)?

            regards, tom lane

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

Предыдущее
От: "Scott Marlowe"
Дата:
Сообщение: Re: Problem after VACUUM ANALYZE
Следующее
От: Keaton Adams
Дата:
Сообщение: Persistent objects within PG or the availability of non-logged tables or databases?