Postgresql, Autocommit, Procedure.
Procedure with Transaction Control Statements?”. Anyway, I agree that I should not start a transaction in the client and commit it in the procedure. Transaction control should stay on the same layer. But… I never wanted to start a transaction from the client and this brings me to the second