From a313011a57948d6e36735232c38d21fa33eda23d Mon Sep 17 00:00:00 2001 From: Daniele Varrazzo Date: Sat, 13 Feb 2010 05:49:34 +0000 Subject: [PATCH] Added a bunch of versions update informations. --- doc/connection.rst | 9 +++++++++ doc/cursor.rst | 2 ++ doc/extensions.rst | 18 ++++++++++++++---- doc/extras.rst | 4 ++-- 4 files changed, 27 insertions(+), 6 deletions(-) diff --git a/doc/connection.rst b/doc/connection.rst index 5024d5c7..b2428b19 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 69b30427..5f9eea62 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 eebc2d7b..465a9245 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 a885895c..f723b28e 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 +