"Default Command Timeout" is ignored on transaction commit
Posted: Thu 06 Jun 2013 07:25
Hi,
if you change data within a transaction and then call the Commit() member function of the PgSqlTransaction object, the "Default Command Timeout" value from the ConnectionString of the PgSqlConnection object is ignored. As a result, the Commit() can take a long time or never comes back, if the Transaction is blocked by another transaction for example.
Am i missing something? Or is this a feature? Is there a workaround?
We use
- Devart.Data.PostgreSql 6.6.242.0 and
- Devart.Data 5.0.701.0
In earlier versions of the connector (CoreLab.PostgreSql 3.25.20) this error was'nt there.
Regards,
pleach
if you change data within a transaction and then call the Commit() member function of the PgSqlTransaction object, the "Default Command Timeout" value from the ConnectionString of the PgSqlConnection object is ignored. As a result, the Commit() can take a long time or never comes back, if the Transaction is blocked by another transaction for example.
Am i missing something? Or is this a feature? Is there a workaround?
We use
- Devart.Data.PostgreSql 6.6.242.0 and
- Devart.Data 5.0.701.0
In earlier versions of the connector (CoreLab.PostgreSql 3.25.20) this error was'nt there.
Regards,
pleach