diff options
author | Daniele Varrazzo <daniele.varrazzo@gmail.com> | 2016-07-01 20:04:00 +0100 |
---|---|---|
committer | Daniele Varrazzo <daniele.varrazzo@gmail.com> | 2016-07-01 20:10:56 +0100 |
commit | 00de4052d156c5b17dce4fa1539b48e97bb2131c (patch) | |
tree | 2a548e47283a45cf662b2f618762b7e4c5c89f73 | |
parent | 051e6d13646d2cafe17e647ce79e69b32e6397b3 (diff) | |
download | psycopg2-00de4052d156c5b17dce4fa1539b48e97bb2131c.tar.gz |
Mention get_dsn_parameters() in news, improved docs metadata
-rw-r--r-- | NEWS | 1 | ||||
-rw-r--r-- | doc/src/connection.rst | 5 |
2 files changed, 6 insertions, 0 deletions
@@ -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 |