The following example recompiles the UDT named address, generates the appropriate object code, generates the new .so library, and redistributes the file to all system nodes.
ALTER TYPE address COMPILE;
The following example recompiles the one-dimensional ARRAY phonenumbers_ary, generates the appropriate object code, generates the new .so library, and redistributes the file to all system nodes.
ALTER TYPE phonenumbers_ary COMPILE;