Function Calling Using OIDS - Mailing list pgsql-general

From evertcarton@netscape.net (Evert Carton)
Subject Function Calling Using OIDS
Date
Msg-id 62726f43.0210220630.6662fd3b@posting.google.com
Whole thread Raw
List pgsql-general
Hi all,

I am wondering, ...

Is there a way to call a stored procedure indirectly, if you have it's
name or it's oid in the pg_proc table ?

Or ...

What I'm trying to achieve ...

I'd like to add a reference to a stored procedure in a record, (e.g.
the OID, but more likely the name, since OID's can change), and to
have this function called by triggers when the record using that
reference in any way, directly or indirectly, is being
added/updated/deleted.
The function being called should be different for each record.
I could of course write one big one, but it looks like the functions I
need might be written in different languages. ...

Any ideas ?

Thx

Evert Carton
evertcarton@netscape.net

pgsql-general by date:

Previous
From: Kallol
Date:
Subject: Problem with creating triggers in PostgreSql
Next
From: "Bill Eaton"
Date:
Subject: getting data out of 2D arrays