Release the PGresult when PgsqlReaderProvider's constructor fails
correct a small error