pg_ha_migrations icon indicating copy to clipboard operation
pg_ha_migrations copied to clipboard

Safely acquire lock on multiple tables

Open rkrage opened this issue 8 months ago • 0 comments

This functionality will allow us to improve the safety of operations that take out locks on multiple tables (e.g. adding / removing foreign keys).

I also discovered a bug in the nested lock acquisition logic, so this PR fixes that and adds more tests.

I feel like it's tradition at this point for me to include too many changes in a PR and for @jcoleman to ask me to break it up into smaller commits 😆 (~~I will try to do that tomorrow~~ done).

rkrage avatar Jun 05 '24 22:06 rkrage