Register opaque-type support functions

To have the database server able to locate the opaque-type support functions, you must register them with the following actions:
  • Use the CREATE FUNCTION statement to register the opaque-type support functions as C UDRs.

    For more information, see Register a C UDR.

  • Use the GRANT EXECUTE ON statement to grant the Execute privilege to the opaque-type support functions.

    For more information, see Access privileges to run the UDR.

  • Use the GRANT USAGE ON LANGUAGE statement to ensure that users have the Usage privilege in the C language for UDRs.

    For more information, see The UDR language.