/ QGIS Public
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reuse QgsPostgresConn to prevent deadlock
QgsPostgresProviderConnection::executeSqlPrivate() has a nested call to itself which may cause a deadlock when the connectionpool is exhausted: Two active threads can acquire a Postgres connection at the start of executeSqlPrivate() and end up both waiting to acquire the second connection.
- Loading branch information
Showing 2 changed files with 6 additions and 5 deletions.