Calling functions indirectly using their name - Mailing list pgsql-novice

From evertcarton@netscape.net (Evert Carton)
Subject Calling functions indirectly using their name
Date
Msg-id 588B4ED5.2C47589B.4B8A5395@netscape.net
Whole thread Raw
List pgsql-novice
(I also this question to usenet comp.databases.postgresql.novice)

Hi all,

I was wondering ?

Is there a way to call a function if you have it's oid or it's name, but call it indirectly ?

What I'm trying to achieve is the following :

I'd like to store a reference (the OID, or the name, since OID's can change) to an existing stored procedure in a
table.
The referenced function/procedure would then be called by triggers.
Different records can point to the same procedure, and there can be a whole lot of procedures, and they will probably
bein different languages, some SQL, some PGPLSQL, some C or TCL.   

Is there a way to call a  referenced functions ?
Or am I taking a silly approach ...

Any help, pointers to documentation, ... would be greatly appreciated.

Regards,

Evert Carton
Medical Research Laboratories

__________________________________________________________________
The NEW Netscape 7.0 browser is now available. Upgrade now! http://channels.netscape.com/ns/browsers/download.jsp

Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/

pgsql-novice by date:

Previous
From: "Jules Alberts"
Date:
Subject: Re: arc relationship [was: db design question]
Next
From: eric manceau
Date:
Subject: Display SELECT