Skip to content

Conversation

@parkan
Copy link
Collaborator

@parkan parkan commented Dec 5, 2025

Postgres will re-scan the entire table when dropping and adding a FK even though we know the new constraint is looser than the old, this avoids the unnecessary enormous table scan

@parkan parkan merged commit 9bb8c22 into main Dec 5, 2025
3 checks passed
@parkan parkan deleted the fix/defered-delete branch December 5, 2025 13:21
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.

2 participants