Extend data types

This section describes the ways to extend data types with C user-defined routines (UDRs).

You can extend data types in the following ways:
  • Create an opaque data type with the C language
  • Create a distinct data type
  • Write operator-class support functions
  • Write optimization functions, including selectivity functions, cost functions, negator functions, and user-defined statistics functions
Tip: For general information about the creation of an opaque type and its support routines, see the Informix® User-Defined Routines and Data Types Developer's Guide.