calling Postgresql stored procedure

Alchemist alextabone at gmail.com
Wed May 30 05:18:08 EDT 2007


I am using Python 2.4 and Postgresql 8.2 database server.

On the database I have created a stored function, example,
CREATE OR REPLACE FUNCTION calculateaverage()

I created a new python script and would like to call my database
stored function.

How can I call a database stored function/procedure in python?

Thanks




More information about the Python-list mailing list