mirror of
https://github.com/psycopg/psycopg2.git
synced 2025-07-10 08:12:26 +03:00
Aligned casing of isolation levels with PostgreSQL documentation
This commit is contained in:
parent
d76d136b4f
commit
3ec9677978
|
@ -339,8 +339,8 @@ The ``connection`` class
|
||||||
transactions/statements. The value can be one of the
|
transactions/statements. The value can be one of the
|
||||||
:ref:`constants <isolation-level-constants>` defined in the
|
:ref:`constants <isolation-level-constants>` defined in the
|
||||||
`~psycopg2.extensions` module or one of the literal values
|
`~psycopg2.extensions` module or one of the literal values
|
||||||
``read uncommitted``, ``read committed``, ``repeatable read``,
|
``READ UNCOMMITTED``, ``READ COMMITTED``, ``REPEATABLE READ``,
|
||||||
``serializable``.
|
``SERIALIZABLE``.
|
||||||
:param readonly: if `!True`, set the connection to read only;
|
:param readonly: if `!True`, set the connection to read only;
|
||||||
read/write if `!False`.
|
read/write if `!False`.
|
||||||
:param deferrable: if `!True`, set the connection to deferrable;
|
:param deferrable: if `!True`, set the connection to deferrable;
|
||||||
|
@ -350,7 +350,7 @@ The ``connection`` class
|
||||||
`autocommit` attribute.
|
`autocommit` attribute.
|
||||||
|
|
||||||
The parameters *isolation_level*, *readonly* and *deferrable* also
|
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.
|
parameter to the server default.
|
||||||
|
|
||||||
.. _isolation level:
|
.. _isolation level:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user