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

[postgres] Avoid deadlocks in transactional editing #3001

Closed
wants to merge 2 commits into from

Conversation

m-kuhn
Copy link
Member

@m-kuhn m-kuhn commented Apr 13, 2016

Can currently be triggered by using the field calculator to update a selection.
While an iterator is active and the connection is locked, an update statement
waits unsuccessfully for the same (locked) connection.

This commit only locks the connection while an iterator is actually fetching
data and not for its entire lifetime.

Can currently be triggered by using the field calculator to update a selection.
While an iterator is active and the connection is locked, an update statement
waits unsuccessfully for the same (locked) connection.

This commit only locks the connection while an iterator is actually fetching
data and not for its entire lifetime.
@m-kuhn
Copy link
Member Author

m-kuhn commented Apr 14, 2016

Merged

@m-kuhn m-kuhn closed this Apr 14, 2016
@m-kuhn m-kuhn deleted the avoiddeadlocks branch April 14, 2016 16:58
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.

None yet

1 participant