SET AUTOCOMMIT — set the autocommit behavior of the current session
SET AUTOCOMMIT { = | TO } { ON | OFF }
SET AUTOCOMMIT
sets the autocommit behavior of the current database session. By default, embedded SQL programs are not in autocommit mode, so COMMIT
needs to be issued explicitly when desired. This command can change the session to autocommit mode, where each individual statement is committed implicitly.
SET AUTOCOMMIT
is an extension of PostgreSQL ECPG.
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.