summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>2016-07-01 20:04:00 +0100
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>2016-07-01 20:10:56 +0100
commit00de4052d156c5b17dce4fa1539b48e97bb2131c (patch)
tree2a548e47283a45cf662b2f618762b7e4c5c89f73
parent051e6d13646d2cafe17e647ce79e69b32e6397b3 (diff)
downloadpsycopg2-00de4052d156c5b17dce4fa1539b48e97bb2131c.tar.gz
Mention get_dsn_parameters() in news, improved docs metadata
-rw-r--r--NEWS1
-rw-r--r--doc/src/connection.rst5
2 files changed, 6 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 5200c4d..98c309f 100644
--- a/NEWS
+++ b/NEWS
@@ -15,6 +15,7 @@ New features:
customized replacing them with any object exposing an `!append()` method
(:ticket:`#326`).
- Added `~psycopg2.extensions.quote_ident()` function (:ticket:`#359`).
+- Added `~connection.get_dsn_parameters()` connection method (:ticket:`#364`).
What's new in psycopg 2.6.2
diff --git a/doc/src/connection.rst b/doc/src/connection.rst
index 3d38180..c99c8bd 100644
--- a/doc/src/connection.rst
+++ b/doc/src/connection.rst
@@ -568,6 +568,9 @@ The ``connection`` class
.. versionadded:: 2.0.12
+ .. index::
+ pair: Connection; Parameters
+
.. method:: get_dsn_parameters()
Get the effective dsn parameters for the connection as a dictionary.
@@ -585,6 +588,8 @@ The ``connection`` class
.. __: http://www.postgresql.org/docs/current/static/libpq-connect.html#LIBPQ-PQCONNINFO
+ .. versionadded:: 2.7
+
.. index::
pair: Transaction; Status