Re: Function problem.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Function problem.
Дата
Msg-id 25405.1042473524@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Function problem.  ("Geoff Ellis" <geoff@metalogicplc.com>)
Список pgsql-admin
"Geoff Ellis" <geoff@metalogicplc.com> writes:
> === ERROR: fmgr_info: function 696542: cache lookup failed =====

This is on 7.3?  My first guess would have been that you deleted and
recreated the function without recreating the trigger that references
it.  But 7.3 should not let you do that.

> I've tried to change the return type to opaque and remove the RETURN 1; But
> if the condition isn't true then I don't have a return.

In an update trigger, you RETURN NEW in the normal case where you want
the update to proceed.

            regards, tom lane

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

Предыдущее
От: "Rob Abernethy IV"
Дата:
Сообщение: Re: Encrypted Passwords
Следующее
От: Tom Lane
Дата:
Сообщение: Re: PAM Authentication and Postgresql 7.3