summaryrefslogtreecommitdiff
path: root/doc/src/advanced.rst
diff options
context:
space:
mode:
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>2011-06-08 14:22:11 +0100
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>2011-06-08 14:22:11 +0100
commitd2b28abcede7788f583ff88571d2a418cec1a4df (patch)
tree0c5e435edd304c41279b3a9bac26fb08c5d3d4e9 /doc/src/advanced.rst
parent1a51cfe2743e4355bd43d20e1a8315d574a16427 (diff)
downloadpsycopg2-d2b28abcede7788f583ff88571d2a418cec1a4df.tar.gz
Method set_transaction() renamed to set_session()
In fact it doesn't change "the transaction", as there has to be no transaction when invoked. The effect instead is to execute SET SESSION CHARACTERISTICS.
Diffstat (limited to 'doc/src/advanced.rst')
-rw-r--r--doc/src/advanced.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/src/advanced.rst b/doc/src/advanced.rst
index c7625b1..c2c3a15 100644
--- a/doc/src/advanced.rst
+++ b/doc/src/advanced.rst
@@ -378,7 +378,7 @@ transaction is not implicitly started at the first query and is not possible
to use methods `~connection.commit()` and `~connection.rollback()`: you can
manually control transactions using `~cursor.execute()` to send database
commands such as :sql:`BEGIN`, :sql:`COMMIT` and :sql:`ROLLBACK`. Similarly
-`set_transaction()` can't be used but it is still possible to invoke the
+`~connection.set_session()` can't be used but it is still possible to invoke the
:sql:`SET` command with the proper :sql:`default_transaction_...` parameter.
With asynchronous connections it is also not possible to use