Function Calling Using OIDS

Поиск
Список
Период
Сортировка
От evertcarton@netscape.net (Evert Carton)
Тема Function Calling Using OIDS
Дата
Msg-id 62726f43.0210220630.6662fd3b@posting.google.com
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: Kallol
Дата:
Сообщение: Problem with creating triggers in PostgreSql
Следующее
От: "Bill Eaton"
Дата:
Сообщение: getting data out of 2D arrays