Postgres Aggregate Functions Not Differentiable Calculus