Subject | Passing context info to UDFs |
---|---|
Author | Nando Dessena |
Post date | 2001-10-19T16:31:32Z |
Hello,
I was wondering what would it take to be able to pass context
information (namely connection and transaction handle) to a UDF, in
order to:
- let UDF access data without the need for an additional connection,
which would be a very bad idea.
- commit/rollback work done by a UDF.
To me, it seems a really useful thing WRT extending the server, and I
was wondering if there would be any serious disadvantages to that.
Any comments?*
--
____
_/\/ando
*Apart from "UDFs are totally crap and should be left to die a horrible
death. Java rules!" :-)
I was wondering what would it take to be able to pass context
information (namely connection and transaction handle) to a UDF, in
order to:
- let UDF access data without the need for an additional connection,
which would be a very bad idea.
- commit/rollback work done by a UDF.
To me, it seems a really useful thing WRT extending the server, and I
was wondering if there would be any serious disadvantages to that.
Any comments?*
--
____
_/\/ando
*Apart from "UDFs are totally crap and should be left to die a horrible
death. Java rules!" :-)