Load the DataBlade module
Before you can attach to the database server process with the debugger, load your DataBlade® module shared object file into the database server address space. With the shared object file loaded, set breakpoints on the routine entry points and examine local storage provided by the routines.
To load the DataBlade module
into the database server address space, execute one of its routines.
One technique is to call the routine with an impossible condition,
as follows:
SELECT routine_name(column_name) FROM table_name
WHERE 1=0;
where routine_name is the name of your
routine, column_name is the name of a column in the table,
and table_name is the name of the table.This statement loads your DataBlade module shared object file without executing the routine.