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

Add batching to potentially large deletion operations #391

Merged
merged 1 commit into from Feb 10, 2023

Conversation

jamesrwelch
Copy link
Contributor

Fixes #354 by breaking large delete statements into smaller ones. This means that the error: Tried to send an out-of-range integer as a 2-byte value doesn't get thrown and the database connection doesn't get closed. Some details here: pgjdbc/pgjdbc#1311.

Copy link
Contributor

@joe-crawford joe-crawford left a comment

Choose a reason for hiding this comment

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

Looks good to me! 🎉

@joe-crawford joe-crawford merged commit 7a57b73 into develop Feb 10, 2023
@joe-crawford joe-crawford deleted the feature/gh-354 branch February 10, 2023 12:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

Internal Server Error upon Permanent Data Model Deletion
2 participants