In the sections that follow, we will discuss how you can extend the PostgreSQL SQL query language by adding:
functions (starting in Section 34.3)
aggregates (starting in Section 34.10)
data types (starting in Section 34.11)
operators (starting in Section 34.12)
operator classes for indexes (starting in Section 34.14)