Runs each statement in a SQL file to a PostgreSQL database, stopping when any statement has an error