In the sections that follow, we will discuss how you can extend the PostgreSQL SQL query language by adding:
functions (starting in Section 35.3)
aggregates (starting in Section 35.10)
data types (starting in Section 35.11)
operators (starting in Section 35.12)
operator classes for indexes (starting in Section 35.14)
packages of related objects (starting in Section 35.15)