Create special-purpose UDRs
This section describes how to create special UDRs, such as iterator functions, user-defined aggregates, and optimization functions.
This section describes how to write C user-defined routines
(UDRs) with the following purposes.
Type of UDR | More information |
---|---|
Cast function | Write a cast function |
Cost function | Write selectivity and cost functions |
End-user routine | Write an end-user routine |
Iterator function | Write an iterator function |
Negator function | implementing a negator function with a C user-defined function |
Parallelizable UDR | Creating parallelizable UDRs |
Selectivity function | Write selectivity and cost functions |
User-defined aggregates | Write an aggregate function |