In my extension function, I create a DTM Document and register it with
the manager. After creating and registering the document but prior to
returning it to the Transformer, if an error occurs I create a new DTM
Document and register it with the Manager. This new document describes
the error that occurred, See SQL Extension HowTo (coming soon).

My question is;

Prior to creating the error document, I tell the manager to release the
original document with a flag of true for hard release. Is this the
correct
behavior ?? I am assuming that since I never gave the document back to
the Transformer, it does not know to release it.

There does not seem to be a corresponding method on the DTM interface
to release any resources.  This would primarily impact extensions
functions
that may have socket or database connections open but may also have
impact
on a xxx->DTM wrapper function.

JohnG




Reply via email to