mirror of
https://github.com/psycopg/psycopg2.git
synced 2024-11-22 08:56:34 +03:00
Mention named callproc in news, fixed docs.
This commit is contained in:
parent
1957389bea
commit
d13521a6ce
1
NEWS
1
NEWS
|
@ -24,6 +24,7 @@ New features:
|
|||
adapter is deprecated (:tickets:`#317, #343, #387`).
|
||||
- Added `~psycopg2.extensions.quote_ident()` function (:ticket:`#359`).
|
||||
- Added `~connection.get_dsn_parameters()` connection method (:ticket:`#364`).
|
||||
- `~cursor.callproc()` now accepts a dictionary of parameters (:ticket:`#381`).
|
||||
|
||||
Other changes:
|
||||
|
||||
|
|
|
@ -202,8 +202,7 @@ The ``cursor`` class
|
|||
Call a stored database procedure with the given name. The sequence of
|
||||
parameters must contain one entry for each argument that the procedure
|
||||
expects. Overloaded procedures are supported. Named parameters can be
|
||||
used with a PostgreSQL 9.0+ client by supplying the sequence of
|
||||
parameters as a Dict.
|
||||
used by supplying the parameters as a dictionary.
|
||||
|
||||
This function is, at present, not DBAPI-compliant. The return value is
|
||||
supposed to consist of the sequence of parameters with modified output
|
||||
|
@ -213,6 +212,8 @@ The ``cursor`` class
|
|||
The procedure may provide a result set as output. This is then made
|
||||
available through the standard |fetch*|_ methods.
|
||||
|
||||
.. versionchanged:: 2.7
|
||||
added support for named arguments.
|
||||
|
||||
.. method:: mogrify(operation [, parameters])
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user