Pass by errors from psql