diff --git a/NEWS b/NEWS index 5200c4dd..98c309fe 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 3d38180a..c99c8bd8 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