Understanding PostgreSQL User-Defined Functions | TigerData