File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 129129 In all cases, a trigger is executed as part of the same transaction as
130130 the statement that triggered it, so if either the statement or the
131131 trigger causes an error, the effects of both will be rolled back.
132- Also, the trigger will always run in the security context of the role
133- that executed the statement that caused the trigger to fire, unless
134- the trigger function is defined as <literal>SECURITY DEFINER</literal>,
135- in which case it will run as the function owner.
132+ Also, the trigger will always run as the role that queued the trigger
133+ event, unless the trigger function is marked as <literal>SECURITY
134+ DEFINER</literal>, in which case it will run as the function owner.
136135 </para>
137136
138137 <para>
You can’t perform that action at this time.
0 commit comments