Noah Misch <noah@leadboat.com> writes:
> In postgr.es/m/1071973.1749075038@sss.pgh.pa.us of yesterday's release notes
> discussion, you wrote "Execute AFTER triggers as the role that was active at
> the moment the trigger event was queued." That's a good direction, since it's
> correct for the mid-query case without raising it explicitly. Maybe this way:
> + Also, the trigger will always run as the role that queued the trigger
> + event, unless the trigger function is defined as <literal>SECURITY
> + DEFINER</literal>, in which case it will run as the function owner.
WFM. I'd probably write "is marked as" not "is defined as".
regards, tom lane