Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Abort if trying to use shared pgsql connection from non-main thread #2695

Closed
wants to merge 1 commit into from

Conversation

strk
Copy link
Contributor

@strk strk commented Jan 19, 2016

Connections cannot be shared between threads, document it.
See #13141

Does NOT deprecate the connectDB method to reduce scope of change (see #2690), but enforces correct usage.

Connections cannot be shared between threads, document it.
See qgis#13141
@strk strk added this to the 2.14 milestone Jan 19, 2016
@strk
Copy link
Contributor Author

strk commented Jan 19, 2016

Pushed as commit 670ded3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant