Dynamic function execution? - Mailing list pgsql-general

From Nick Johnson
Subject Dynamic function execution?
Date
Msg-id 1F37CD5F-F711-41C9-A9AC-88F06FE78115@notdot.net
Whole thread Raw
Responses Re: Dynamic function execution?  (Michael Fuhr <mike@fuhr.org>)
List pgsql-general
Can anyone provide me with some direction on how to write a function
I can load into postgres that will execute a function specified by
OID (or regproc/regprocedure) at runtime, with type safety? I've been
able to write such a function in C, but I was unable to figure out
how to determine the parameters that the specified function expects,
so I can prevent calling a function that doesn't match the expected
signature (which segfaults postgres).

-Nick Johnson

pgsql-general by date:

Previous
From: "Eric B. Ridge"
Date:
Subject: Re: Possible data corruption with Postgres 7.4.8
Next
From: r irussel
Date:
Subject: Urgent !!! Please Help Me