Permalink
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.
Browse files
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. (cherry picked from commit 3e862c4)
- Loading branch information
1 parent
d1f3f00
commit 19e2758
Showing
2 changed files
with
6 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters