summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/connection.rst12
-rw-r--r--doc/extensions.rst12
2 files changed, 18 insertions, 6 deletions
diff --git a/doc/connection.rst b/doc/connection.rst
index 16f423e..4c39ec9 100644
--- a/doc/connection.rst
+++ b/doc/connection.rst
@@ -27,8 +27,8 @@ The ``connection`` class
:class:`extensions.cursor`. See :ref:`subclassing-cursor` for details.
- .. index:
- pair: Transaction, Commit
+ .. index::
+ pair: Transaction; Commit
.. method:: commit()
@@ -37,8 +37,8 @@ The ``connection`` class
:meth:`connection.set_isolation_level()`.
- .. index:
- pair: Transaction, Rollback
+ .. index::
+ pair: Transaction; Rollback
.. method:: rollback()
@@ -74,8 +74,8 @@ The ``connection`` class
connection.
- .. index:
- single: Autocommit
+ .. index::
+ pair: Transaction; Autocommit
pair: Transaction; Isolation level
.. attribute:: isolation_level
diff --git a/doc/extensions.rst b/doc/extensions.rst
index f767738..4b99162 100644
--- a/doc/extensions.rst
+++ b/doc/extensions.rst
@@ -39,6 +39,10 @@ functionalities defined by the |DBAPI 2.0|.
.. todo:: finish module extensions
+
+.. index::
+ pair: Isolation level; Constants
+
.. _isolation-level-constants:
Isolation level constants
@@ -88,6 +92,10 @@ one of the following constants:
PostgreSQL documentation.
+
+.. index::
+ pair: Transaction status; Constants
+
.. _transaction-status-constants:
Transaction status constants
@@ -117,6 +125,10 @@ can be read using the :meth:`connection.get_transaction_status()` method.
Reported if the connection with the server is bad.
+
+.. index::
+ pair: Connection status; Constants
+
.. _connection-status-constants:
Connection status constants