next up previous contents index
Next: Summary Up: Extending POSTGRESQL Using C Previous: Register the New Functions

  
Create Operators, Types, and Aggregates

Optionally, you can build operators, types, and aggregates using functions. CREATE OPERATOR, CREATE TYPE , and CREATE AGGREGATE  register that a set of functions should behave as an operator, type, or aggregate. They name the new operator, type, or aggregate, and then call the supplied function whenever its name is accessed. See CREATE_OPERATOR, CREATE_TYPE, and CREATE_AGGREGATE for more information. 


Bruce Momjian
2001-05-09