Pg function testme()

$func_call = 'select testme()';

$dbh->do( $func_call );

or 

$res = $dbh->selectall_arrayref( $func_call );

or 
$sth = $dbh->prepare( $func_call );
$sth->execute;

The type of call depends on the results of the function.

Tom


On Wed, Aug 14, 2002 at 10:42:17PM +0200, Somogyi Lorand wrote:
> Hi All!
> 
> New to the list, so sorry if the question was already answered. 
> I need a help ASAP...
> 
> How can I call a PostgreSQL stored fuction from perl, with DBI (DBD:Pg)?
> 
> I just cannot find any doc on the net about this topic... :-(
> 
> Thx, 
> L.

-- 
Thomas A. Lowery
See DBI/FAQ http://xmlproj.dyndns.org/cgi-bin/fom

Reply via email to