Postgres Aggregate Functions In Dbms Architecture