Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
Name: python311-django-pglocks | Distribution: SUSE Linux Enterprise 15 SP6 |
Version: 1.0.4 | Vendor: openSUSE |
Release: bp156.4.1 | Build date: Fri Mar 29 07:33:00 2024 |
Group: Development/Languages/Python | Build host: i01-ch2c |
Size: 15097 | Source RPM: python-django-pglocks-1.0.4-bp156.4.1.src.rpm |
Packager: https://bugs.opensuse.org | |
Url: https://github.com/Xof/django-pglocks | |
Summary: PostgreSQL Advisory Locks for Django |
django-pglocks provides a useful context manager to manage PostgreSQL advisory locks. It requires Django (tested with 1.5), PostgreSQL, and (probably) psycopg2. Advisory locks are application-level locks that are acquired and released purely by the client of the database; PostgreSQL never acquires them on its own. They are very useful as a way of signalling to other sessions that a higher-level resource than a single row is in use, without having to lock an entire table or some other structure. It's entirely up to the application to correctly acquire the right lock. Advisory locks are either session locks or transaction locks. A session lock is held until the database session disconnects (or is reset); a transaction lock is held until the transaction terminates. Currently, the context manager only creates session locks, as the behavior of a lock persisting after the context body has been exited is surprising, and there's no way of releasing a transaction-scope advisory lock except to exit the transaction.
MIT
* Thu Mar 28 2024 Max Lin <mlin@suse.com> - Add %{?sle15_python_module_pythons} * Thu Apr 02 2020 Marketa Calabkova <mcalabkova@suse.com> - update to version 1.0.4 * Add Django 3.0 compatibility * Tue Dec 03 2019 Andreas Hasenkopf <ahasenkopf@suse.com> - Initial version
/usr/lib/python3.11/site-packages/django_pglocks /usr/lib/python3.11/site-packages/django_pglocks-1.0.4-py3.11.egg-info /usr/lib/python3.11/site-packages/django_pglocks-1.0.4-py3.11.egg-info/PKG-INFO /usr/lib/python3.11/site-packages/django_pglocks-1.0.4-py3.11.egg-info/SOURCES.txt /usr/lib/python3.11/site-packages/django_pglocks-1.0.4-py3.11.egg-info/dependency_links.txt /usr/lib/python3.11/site-packages/django_pglocks-1.0.4-py3.11.egg-info/requires.txt /usr/lib/python3.11/site-packages/django_pglocks-1.0.4-py3.11.egg-info/top_level.txt /usr/lib/python3.11/site-packages/django_pglocks/__init__.py /usr/lib/python3.11/site-packages/django_pglocks/__pycache__ /usr/lib/python3.11/site-packages/django_pglocks/__pycache__/__init__.cpython-311.opt-1.pyc /usr/lib/python3.11/site-packages/django_pglocks/__pycache__/__init__.cpython-311.pyc /usr/lib/python3.11/site-packages/django_pglocks/__pycache__/models.cpython-311.opt-1.pyc /usr/lib/python3.11/site-packages/django_pglocks/__pycache__/models.cpython-311.pyc /usr/lib/python3.11/site-packages/django_pglocks/__pycache__/test_settings.cpython-311.opt-1.pyc /usr/lib/python3.11/site-packages/django_pglocks/__pycache__/test_settings.cpython-311.pyc /usr/lib/python3.11/site-packages/django_pglocks/__pycache__/tests.cpython-311.opt-1.pyc /usr/lib/python3.11/site-packages/django_pglocks/__pycache__/tests.cpython-311.pyc /usr/lib/python3.11/site-packages/django_pglocks/models.py /usr/lib/python3.11/site-packages/django_pglocks/test_settings.py /usr/lib/python3.11/site-packages/django_pglocks/tests.py /usr/share/doc/packages/python311-django-pglocks /usr/share/doc/packages/python311-django-pglocks/CHANGES.txt /usr/share/licenses/python311-django-pglocks /usr/share/licenses/python311-django-pglocks/LICENSE.txt
Generated by rpm2html 1.8.1
Fabrice Bellet, Tue Jul 9 19:58:50 2024