Postgres Create Function Example Problems Stoichiometry