Opened 4 years ago

Closed 4 years ago

#57 closed enhancement (fixed)

Implement callproc method on pgdb cursors

Reported by: cito Owned by:
Priority: minor Milestone: 5.0
Component: DB API 2 Version: 4.1
Keywords: callproc cursor Cc:


Currently pgdb does not provided the optional callproc() method described in the DB-API 2 standard.

Change History (1)

comment:1 Changed 4 years ago by cito

Resolution: fixed
Status: newclosed

Implemented in r692 now. The implementation has been a bit simplified in that output and input/output parameters are not changed in the return value, i.e. they can only be retrieved using the fetch methods. To implement this, it would be necessary to determine (through a query to the database catalog) which parameters are output parameters and fetch the return values for these, which would be very costly. As far as I see, psycopg2 hasn't implemented this either.

Note: See TracTickets for help on using tickets.