Postgresql Numeric Functions In Php