In the sections that follow, we will discuss how you can extend the PostgreSQL SQL query language by adding:
functions (starting in Section 36.3)
aggregates (starting in Section 36.10)
data types (starting in Section 36.11)
operators (starting in Section 36.12)
operator classes for indexes (starting in Section 36.14)
packages of related objects (starting in Section 36.15)