PERFORM function in Plpgsql

From: Yannick LOUVET <y(dot)louvet(at)atolcd(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: PERFORM function in Plpgsql
Date: 2004-04-29 15:22:49
Message-ID: 40911DC9.6020904@atolcd.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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)


Responses

Browse pgsql-general by date

  From Date Subject
Next Message Oleg Bartunov 2004-04-29 15:27:42 Re: Postgre and Web Request
Previous Message Richard Welty 2004-04-29 15:16:43 Re: Anyone using pgreplicator?