Mention get_dsn_parameters() in news, improved docs metadata

This commit is contained in:
Daniele Varrazzo 2016-07-01 20:04:00 +01:00
parent 051e6d1364
commit 00de4052d1
2 changed files with 6 additions and 0 deletions

1
NEWS
View File

@ -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

View File

@ -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