Postgresql, Autocommit, Procedure.
TL;DR: AUTOCOMMIT is required when calling a procedure which has some COMMIT inside. In version 11 PostgreSQL has introduced the possibility to start, commit or rollback transactions in PL/pgSQL procedures (stored or anonymous). Most of the demos have been run from the psql default AUTOCOMMIT on,