Re: tsvector_update_trigger throws error "column is not of tsvector type"
В списке pgsql-general по дате отправления:
| От | 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"
|
| Список | 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 по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера