Subject | Re: External procedures: implementation proposal. |
---|---|
Author | Roman Rokytskyy |
Post date | 2005-07-25T07:54:11Z |
> > So, the question is whether we define a new module for "C"Ok, then if no other comments come, let's assume that's the solution.
> > language that would resolve the external name
> > "ib_util:some_procedure" on Windows into "ib_util.dll" and
> > "some_procedure" entry point?
>
> Yes, I think so.
> > Then don't let it crash. I do not think that C++ is not capable ofCannot you wrap all calls into try/catch? AV in external module is not
> > handling something like "NullPointerException" (in that case it
> > would be access violation) generated in the SP/UDF.
>
> If this AV comes into the engine, it aborts. There's no other
> option.
something that server should really care about.
> I'd like to hear Paul's explanation of this feature. In Oracle, aI have forwarded him this post, hopefully he joins the discussion.
> cursor reference (may be treated as a result set) could be an OUT
> param. But the engine doesn't support anything like this yet.
Roman