Postgres Aggregate Functions Notation Evaluating