Postgresql, Autocommit, Oracle.
occurs also without auto-commit when we CALL the procedure from an explicit transaction. ERROR: invalid transaction termination \echo :AUTOCOMMIT begin transaction; do $$ begin update DEMO set t=null; rollback; end $$; rollback; \set AUTOCOMMIT off \echo :AUTOCOMMIT do $$ begin update DEMO set