Re: fmgr_info error

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: fmgr_info error
Дата
Msg-id 9958.958932237@sss.pgh.pa.us
обсуждение исходный текст
Ответ на fmgr_info error  (Louis-David Mitterrand <cunctator@apartia.ch>)
Список pgsql-general
Louis-David Mitterrand <cunctator@apartia.ch> writes:
> After creating a trigger on an insert I get this error:
> auction=> insert into bid values('mito',3,354);
> NOTICE:  you bid the exact increment of 5
> ERROR:  fmgr_info: function 38667: cache lookup failed
> And the insert is not performed as it should. What does this error mean?

Offhand I'd guess that you deleted and recreated the function, but
didn't delete and recreate the trigger definition, so it's still
pointing at the now-gone version of the function.

This could stand to be cleaned up :-( ... but right now you have
to remake triggers referencing a function whenever you remake
the function.

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: crash on \copy
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] Re: MySQL crashme test and PostgreSQL