summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/src/usage.rst5
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/src/usage.rst b/doc/src/usage.rst
index 48744ef..1356328 100644
--- a/doc/src/usage.rst
+++ b/doc/src/usage.rst
@@ -757,11 +757,14 @@ will result in an implicit rollback.
It is possible to set the connection in *autocommit* mode: this way all the
commands executed will be immediately committed and no rollback is possible. A
-few commands (e.g. :sql:`CREATE DATABASE`, :sql:`VACUUM`...) require to be run
+few commands (e.g. :sql:`CREATE DATABASE`, :sql:`VACUUM`, :sql:`CALL` on
+`stored procedures`__ using transaction control...) require to be run
outside any transaction: in order to be able to run these commands from
Psycopg, the connection must be in autocommit mode: you can use the
`~connection.autocommit` property.
+.. __: https://www.postgresql.org/docs/current/xproc.html
+
.. warning::
By default even a simple :sql:`SELECT` will start a transaction: in