summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>2010-02-13 05:49:34 +0000
committerFederico Di Gregorio <fog@initd.org>2010-02-14 00:39:49 +0100
commita313011a57948d6e36735232c38d21fa33eda23d (patch)
tree5127bbfe3bd81551514fde080ab244a18c891b46
parente4d427aae62e48fa7f5045a7a5c2edeab03c217b (diff)
downloadpsycopg2-a313011a57948d6e36735232c38d21fa33eda23d.tar.gz
Added a bunch of versions update informations.
-rw-r--r--doc/connection.rst9
-rw-r--r--doc/cursor.rst2
-rw-r--r--doc/extensions.rst18
-rw-r--r--doc/extras.rst4
4 files changed, 27 insertions, 6 deletions
diff --git a/doc/connection.rst b/doc/connection.rst
index 5024d5c..b2428b1 100644
--- a/doc/connection.rst
+++ b/doc/connection.rst
@@ -198,6 +198,8 @@ The ``connection`` class
.. __: http://www.postgresql.org/docs/8.4/static/libpq-status.html#AEN33590
+ .. versionadded:: 2.0.8
+
.. index::
pair: Server; Parameters
@@ -217,6 +219,8 @@ The ``connection`` class
.. __: http://www.postgresql.org/docs/8.4/static/libpq-status.html#AEN33499
+ .. versionadded:: 2.0.12
+
.. index::
pair: Transaction; Status
@@ -245,6 +249,8 @@ The ``connection`` class
.. __: http://www.postgresql.org/docs/8.4/static/libpq-status.html#AEN33546
+ .. versionadded:: 2.0.12
+
.. index::
pair: Server; Version
@@ -261,6 +267,8 @@ The ``connection`` class
.. __: http://www.postgresql.org/docs/8.4/static/libpq-status.html#AEN33556
+ .. versionadded:: 2.0.12
+
.. index::
pair: Connection; Status
@@ -284,3 +292,4 @@ The ``connection`` class
.. todo:: conn.lobject details
+ .. versionadded:: 2.0.8
diff --git a/doc/cursor.rst b/doc/cursor.rst
index 69b3042..5f9eea6 100644
--- a/doc/cursor.rst
+++ b/doc/cursor.rst
@@ -68,6 +68,8 @@ The ``cursor`` class
The :attr:`closed` attribute is a Psycopg extension to the
|DBAPI|.
+ .. versionadded:: 2.0.7
+
.. attribute:: connection
diff --git a/doc/extensions.rst b/doc/extensions.rst
index eebc2d7..465a924 100644
--- a/doc/extensions.rst
+++ b/doc/extensions.rst
@@ -33,6 +33,7 @@ functionalities defined by the |DBAPI|_.
.. todo:: class lobject
+ .. versionadded:: 2.0.8
.. _sql-adaptation-objects:
@@ -226,13 +227,22 @@ The module exports a few exceptions in addition to the :ref:`standard ones
.. exception:: QueryCanceledError
- Error related to database operation (disconnect, memory allocation etc).
- It is a subclass of :exc:`~psycopg2.OperationalError`
+ (subclasses :exc:`~psycopg2.OperationalError`)
+
+ Error related to SQL query cancelation. It can be trapped specifically to
+ detect a timeout.
+
+ .. versionadded:: 2.0.7
+
.. exception:: TransactionRollbackError
- Error causing transaction rollback (deadlocks, serialisation failures, etc).
- It is a subclass of :exc:`~psycopg2.OperationalError`
+ (subclasses :exc:`~psycopg2.OperationalError`)
+
+ Error causing transaction rollback (deadlocks, serialisation failures,
+ etc). It can be trapped specifically to detect a deadlock.
+
+ .. versionadded:: 2.0.7
diff --git a/doc/extras.rst b/doc/extras.rst
index a885895..f723b28 100644
--- a/doc/extras.rst
+++ b/doc/extras.rst
@@ -136,7 +136,7 @@ INET data type
Fractional time zones
---------------------
-.. versionadded:: 2.0.10
-
.. autofunction:: register_tstz_w_secs
+ .. versionadded:: 2.0.9
+