From 1d786d03802299319dd9da2853a1a7f503d31db5 Mon Sep 17 00:00:00 2001 From: Daniele Varrazzo Date: Thu, 3 Apr 2014 02:07:38 +0100 Subject: [PATCH] Explicit the fact that closed connections have undefined status --- doc/src/connection.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/src/connection.rst b/doc/src/connection.rst index 22f1f066..eac2f001 100644 --- a/doc/src/connection.rst +++ b/doc/src/connection.rst @@ -613,6 +613,8 @@ The ``connection`` class `psycopg2.extensions`: see :ref:`connection-status-constants` for the available values. + The status is undefined for `closed` connectons. + .. method:: lobject([oid [, mode [, new_oid [, new_file [, lobject_factory]]]]])