Alvaro Herrera <alvherre@2ndquadrant.com> writes:
> (Someone might still complain that we cause a PG_TRY in BEGIN
> TRANSACTION etc. Not sure if this is something we should worry about.
> Robert did complain about this previously.)
I think it would be difficult and probably dangerous to have PG_TRY
for only some utility commands, so not much to be done about that.
The main thing is to not invoke event trigger code for BEGIN/ABORT/SET.
regards, tom lane