[PyGreSQL] callproc() and Stored Procedures

Martha Zimet zimet at manray.com
Fri Feb 29 18:26:40 EST 2008


Hello:

I am attempting to use PyGreSQL to access a stored procedure in Postgres.
If I understand correctly, I need to create a cursor and then call the
cursor's callproc(). I am doing exactly that in my code but keep
getting the following exception:

exceptions.AttributeError pgdbCursor instance has no attribute 'callproc'

Is there some other method to access stored procedures? Does anyone have
any suggestions? I am using PyGreSQL version 3.7.

Thanks in advance.

Regards,

/martha







More information about the PyGreSQL mailing list