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