Shared library with a UDX
When you create a UDX that depends on a shared library, you must
specify the shared library as a dependency of the UDX. A sample command
follows:
MYDB.SCHEMA(USER)=> CREATE OR REPLACE FUNCTION appendfile(INT4)
RETURNS INT4 LANGUAGE CPP PARAMETER STYLE NPSGENERIC
CALLED ON NULL INPUT NOT DETERMINISTIC
EXTERNAL CLASS NAME 'Append' DEPENDENCIES myudxlib
EXTERNAL HOST OBJECT '/home/nz/udx/append.o_x86'
EXTERNAL SPU OBJECT '/home/nz/udx/append.o_spu10';
CREATE FUNCTION