Skip to content

Add support for explicit table-level locks - #205

Merged
Photonios merged 4 commits into
masterfrom
explicit-table-locking
Apr 6, 2023
Merged

Photonios merged 4 commits into
masterfrom
explicit-table-locking

Conversation

@Photonios

Copy link
Copy Markdown
Contributor

No description provided.

@Photonios
Photonios force-pushed the explicit-table-locking branch from 41b7423 to ecc1bf5 Compare April 4, 2023 06:38
@Photonios
Photonios force-pushed the explicit-table-locking branch from ecc1bf5 to 63d8608 Compare April 4, 2023 08:08
Comment thread docs/source/locking.rst Resolved
Comment thread docs/source/locking.rst Resolved
Comment thread psqlextra/locking.py Resolved
Comment thread psqlextra/locking.py Resolved
Comment thread tests/test_locking.py
lock_signature = (
"public",
mocked_model._meta.db_table,
"AccessExclusiveLock",

@sewi-cpan sewi-cpan Apr 5, 2023 •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

What about using @pytest.mark.parametrize with PostgresTableLockMode to ensure that all lock modes are working?

Comment thread tests/test_locking.py Resolved
@Photonios
Photonios requested a review from sewi-cpan April 5, 2023 08:29
@Photonios
Photonios merged commit c79a8ca into master Apr 6, 2023
@Photonios
Photonios deleted the explicit-table-locking branch April 6, 2023 08:18
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