Hi.
The following Todo item seems already resolved in pg15.
https://wiki.postgresql.org/wiki/Todo#Triggers
> Tighten trigger permission checks
>
> - Security leak with trigger functions?
> <http://archives.postgresql.org/pgsql-hackers/2006-12/msg00564.php>
>
>
But it seems to not appear in the pg15 release notes. (I searched for the
keywords "trigger" and "function").