]> begriffs open source - ai-pg/blob - full-docs/txt/ecpg-sql-set-autocommit.txt
Convert HTML docs to more streamlined TXT
[ai-pg] / full-docs / txt / ecpg-sql-set-autocommit.txt
1
2 SET AUTOCOMMIT
3
4    SET AUTOCOMMIT — set the autocommit behavior of the current session
5
6 Synopsis
7
8 SET AUTOCOMMIT { = | TO } { ON | OFF }
9
10 Description
11
12    SET AUTOCOMMIT sets the autocommit behavior of the current database
13    session. By default, embedded SQL programs are not in autocommit mode,
14    so COMMIT needs to be issued explicitly when desired. This command can
15    change the session to autocommit mode, where each individual statement
16    is committed implicitly.
17
18 Compatibility
19
20    SET AUTOCOMMIT is an extension of PostgreSQL ECPG.