Postgres (and other database systems) have many builtin functions, organized by type.