[PyGreSQL] callproc() and Stored Procedures

Christoph Zwerschke cito at online.de
Sat Mar 1 14:45:30 EST 2008


Martha Zimet schrieb:
> I have tried SELECT statements from both pg, using query,
> and pgdb using execute, to access my stored procedure which
> should return the value of the parameter foo:
> 
> SELECT zexternal_action.hello_world('foo')

What does this return when you run it with psql?

Does a simple select such as SELECT 'hello world'
work for you with bot pg and pgdb?

-- Christoph


More information about the PyGreSQL mailing list