Trigger functions don't obey "strict" setting?

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Trigger functions don't obey "strict" setting?
Дата
Msg-id Pine.LNX.4.21.0009081916541.345-100000@localhost.localdomain
обсуждение исходный текст
Ответы Re: Trigger functions don't obey "strict" setting?
Список pgsql-hackers
I just read across the code in command/trigger.c:ExecCallTriggerFunc() and
apparently the trigger function is called unconditionally even if the
"strict" flag is set. Perhaps this should be amended somewhere.

For coding clarity and convenience I'd suggest that we add another
function as a wrapper around FunctionCallInvoke() which does the right
thing with "strict". We could call that FunctionCallInvoke(), and call the
current version FunctionCallInvokeNoNulls() or some such.

Btw., FunctionCallInvoke() would look to be the most prominent place to
hook in the "setuid" feature. For that purpose I'd make the macro an
inline function instead.

-- 
Peter Eisentraut      peter_e@gmx.net       http://yi.org/peter-e/



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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: "setuid" functions, a solution to the RI privilege problem
Следующее
От: Peter Eisentraut
Дата:
Сообщение: CFLAGS vs CPPFLAGS, or The future of `make depend'