Write a UDR in C
You can write a UDR in C by using the DataBlade® API functions to communicate with the database server. You can also write subroutines in C that a UDR calls as it executes. These subroutines must follow the same rules as the UDR with respect to the use of DataBlade® API functions.
Tip: Because of the subject matter
of these topics, the topics use the terms C UDR and UDR interchangeably.
You compile UDRs into shared-object files. You then register the UDR in the system catalog tables so that the database server can locate the code at run time. The database server dynamically loads the shared-object files into memory when the UDR executes.