8000 Use exclusive lock for view maintenance caused by UPDATE or DELETE by yugo-n · Pull Request #42 · sraoss/pg_ivm · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Use exclusive lock for view maintenance caused by UPDATE or DELETE #42

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

Merged
merged 1 commit into from
Dec 16, 2022

Conversation

yugo-n
Copy link
Collaborator
@yugo-n yugo-n commented Dec 16, 2022

When using DELETE or UPDATE, we must use exclusive lock for now because apply_old_delta(_with_count) could result in wrong results with concurrent transactions. We would like to improve it in future, but we prevent it by using the lock for now.

When using DELETE or UPDATE, we must use exclusive lock for now
because apply_old_delta(_with_count) could result in wrong results
with concurrent transactions. We would like to improve it in future,
but we prevent it by using the lock for now.
Copy link
Collaborator Author
@yugo-n yugo-n left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All tests pass

@yugo-n yugo-n merged commit 5db54f4 into main Dec 16, 2022
@yugo-n yugo-n deleted the use_exclusive_lock branch August 31, 2023 12:42
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
0