In the sections that follow, we will discuss how you can extend the PostgreSQL SQL query language by adding:
functions (starting in Seção 33.3)
aggregates (starting in Seção 33.10)
data types (starting in Seção 33.11)
operators (starting in Seção 33.12)
operator classes for indexes (starting in Seção 33.14)