The following documentation comment has been logged on the website:
Page: https://www.postgresql.org/docs/11/plpgsql-transactions.html
Description:
It's worth mentioning that "Transaction Management" requires "Autocommit" to
be ON. Otherwise you get an error.