Update Pgsql.php