On Tuesday, February 19, 2019, Rob Nikander <rob(dot)nikander(at)gmail(dot)com> wrote:
> Are procedures not allowed to commit/rollback if they are called within
> in an outer transaction?
>
https://www.postgresql.org/docs/11/sql-call.html
Also, I tried putting a `start transaction` command in the procedure. I got
> another error: `unsupported transaction command in PL/pgSQL`. Are
> procedures not allowed to start transactions? Or is there another command?
>
https://www.postgresql.org/docs/11/plpgsql-transactions.html
David J.