Re: Performing INSERT from a Trigger fired function

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Performing INSERT from a Trigger fired function
Дата
Msg-id 20845.1033743624@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Performing INSERT from a Trigger fired function  ("Darrell Skogman" <darrellskogman@email.com>)
Список pgsql-general
"Darrell Skogman" <darrellskogman@email.com> writes:
> I want to be able to capture changes to a db with the use of
> triggers. I have created a simple db to test the methods to do
> this. When I change the age in this example, I get the error - "cashe
> lookup failed".

Do you get cache-lookup-failed when you use a non-trigger plpgsql
function, too?  I'll bet your plpgsql language definition is broken.
Try dropping and recreating it (see droplang and createlang scripts).

            regards, tom lane

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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: Inheritance: problems with primary key
Следующее
От: Patrick Welche
Дата:
Сообщение: Re: PL/pgSQL