summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>2012-11-12 01:32:38 +0000
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>2012-11-12 01:32:38 +0000
commit896ad7c827f232657cd179e01a69754e08e89f1f (patch)
tree4a4734680c337eb14960808cb70ae71e791bb030
parent10476200fdb88fbb3a90cbcae97a91cafecd637f (diff)
downloadpsycopg2-896ad7c827f232657cd179e01a69754e08e89f1f.tar.gz
Fixed a couple of terms in the docs
After Pierre-Louis Bonicoli's suggestions in ticket #138.
-rw-r--r--doc/src/usage.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/src/usage.rst b/doc/src/usage.rst
index 06e5179..a2c9b3f 100644
--- a/doc/src/usage.rst
+++ b/doc/src/usage.rst
@@ -51,7 +51,7 @@ The main entry points of Psycopg are:
- create new `cursor`\s using the `~connection.cursor()` method to
execute database commands and queries,
- - terminate the session using the methods `~connection.commit()` or
+ - terminate transactions using the methods `~connection.commit()` or
`~connection.rollback()`.
- The class `cursor` allows interaction with the database:
@@ -529,7 +529,7 @@ 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
outside any transaction: in order to be able to run these commands from
-Psycopg, the session must be in autocommit mode: you can use the
+Psycopg, the connection must be in autocommit mode: you can use the
`~connection.autocommit` property (`~connection.set_isolation_level()` in
older versions).