Is there a way to call a function by its oid in postgresql? -


I have a table with two enum columns, in each enum there are approximately 10 possible values ​​in the special combinations of these values On the basis I have to write this function which calls a specific other function for each row of this table. I do not want to create a 10x10 (= 100) "WHEN" and cases, what I want to do to create a table Incorporation and Incorporate Audiences How to call may include I even managed to do it, but now I do not know how to function. Any help would be appreciated.

You can not call the function by OID. But you can definitely get the job names from OID, and then create a dynamic SQL statement and can run it with PLL / Pgsql with EXECUTE.

Comments

Popular posts from this blog

mysql - BLOB/TEXT column 'value' used in key specification without a key length -

c# - Using Vici cool Storage with monodroid -

python - referencing a variable in another function? -