PERFORM function in Plpgsql - Mailing list pgsql-general

From Yannick LOUVET
Subject PERFORM function in Plpgsql
Date
Msg-id 40911DC9.6020904@atolcd.com
Whole thread Raw
Responses Re: PERFORM function in Plpgsql  (Adam Ruth <aruth@intercation.com>)
List pgsql-general
hello,

i want to call a function (function1() for example )in an other function.
simple,i guess :

....
PERFORM function1() ;
.....

it's ok, but the name of my function is a variable like :


.....
var_function := function1();
.....
PERFORM var_function;


and it doesn't work !!!
Is it possible to do that ?

thanks


version :
 PostgreSQL 7.3.4 on i686-pc-linux-gnu, compiled by GCC gcc (GCC) 3.3.1
(Mandrake Linux 9.2 3.3.1-1mdk)










pgsql-general by date:

Previous
From: Bricklen
Date:
Subject: Re: Postgres to oracle data migration
Next
From: Matti Siekkinen
Date:
Subject: Problem in installing plpython