Re: Trigger won't execute when using sp with input parameters

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Trigger won't execute when using sp with input parameters
Дата
Msg-id 22392.1113062378@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Trigger won't execute when using sp with input parameters  (Erik Dahlstrand <df03daer@ing.hj.se>)
Список pgsql-novice
Erik Dahlstrand <df03daer@ing.hj.se> writes:
> When using an ''INSER INTO' SQL statement the trigger is executing fine.
> Also a stored procedure with "hard coded" values will fire the trigger.
> But when using input parameters (and a output parameter) the trigger
> won't execute.

That's really, really hard to believe --- and if it were true it would
be a critical bug.  Can you provide a complete, self-contained example
that makes this happen?  I can't reproduce it with what you gave, since
the insert_object() function doesn't work at all --- it looks like you
stripped out chunks of code.  A SQL script that creates the tables,
the function, and causes the failure from a standing start is the best
way to demonstrate such problems.

            regards, tom lane

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

Предыдущее
От: Erik Dahlstrand
Дата:
Сообщение: Trigger won't execute when using sp with input parameters
Следующее
От: "Rodolfo J. Paiz"
Дата:
Сообщение: Not quite managing my first join