summaryrefslogtreecommitdiff
path: root/doc/src/connection.rst
diff options
context:
space:
mode:
authorFederico Di Gregorio <fog@initd.org>2011-06-12 21:40:31 +0200
committerFederico Di Gregorio <fog@initd.org>2011-06-12 21:40:31 +0200
commit3ec9677978a77b9d4ea7e218479e5a0586658281 (patch)
treec2182706e850241b587bdbc97a56e05f7219cb61 /doc/src/connection.rst
parentd76d136b4f3bb2a88a64ad83e8f26fb2b486a604 (diff)
downloadpsycopg2-3ec9677978a77b9d4ea7e218479e5a0586658281.tar.gz
Aligned casing of isolation levels with PostgreSQL documentation
Diffstat (limited to 'doc/src/connection.rst')
-rw-r--r--doc/src/connection.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/src/connection.rst b/doc/src/connection.rst
index 2763e06..f9a1b86 100644
--- a/doc/src/connection.rst
+++ b/doc/src/connection.rst
@@ -339,8 +339,8 @@ The ``connection`` class
transactions/statements. The value can be one of the
:ref:`constants <isolation-level-constants>` defined in the
`~psycopg2.extensions` module or one of the literal values
- ``read uncommitted``, ``read committed``, ``repeatable read``,
- ``serializable``.
+ ``READ UNCOMMITTED``, ``READ COMMITTED``, ``REPEATABLE READ``,
+ ``SERIALIZABLE``.
:param readonly: if `!True`, set the connection to read only;
read/write if `!False`.
:param deferrable: if `!True`, set the connection to deferrable;
@@ -350,7 +350,7 @@ The ``connection`` class
`autocommit` attribute.
The parameters *isolation_level*, *readonly* and *deferrable* also
- accept the string ``default`` as a value: the effect is to reset the
+ accept the string ``DEFAULT`` as a value: the effect is to reset the
parameter to the server default.
.. _isolation level: