Index index by Group index by Distribution index by Vendor index by creation date index by Name Mirrors Help Search

python39-django-pglocks-1.0.4-1.10 RPM for noarch

From OpenSuSE Ports Tumbleweed for noarch

Name: python39-django-pglocks Distribution: openSUSE:Factory:zSystems
Version: 1.0.4 Vendor: openSUSE
Release: 1.10 Build date: Fri Jun 16 09:01:30 2023
Group: Development/Languages/Python Build host: s390zp22
Size: 15470 Source RPM: python-django-pglocks-1.0.4-1.10.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.

Provides

Requires

License

MIT

Changelog

* 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

Files

/usr/lib/python3.9/site-packages/django_pglocks
/usr/lib/python3.9/site-packages/django_pglocks-1.0.4-py3.9.egg-info
/usr/lib/python3.9/site-packages/django_pglocks-1.0.4-py3.9.egg-info/PKG-INFO
/usr/lib/python3.9/site-packages/django_pglocks-1.0.4-py3.9.egg-info/SOURCES.txt
/usr/lib/python3.9/site-packages/django_pglocks-1.0.4-py3.9.egg-info/dependency_links.txt
/usr/lib/python3.9/site-packages/django_pglocks-1.0.4-py3.9.egg-info/requires.txt
/usr/lib/python3.9/site-packages/django_pglocks-1.0.4-py3.9.egg-info/top_level.txt
/usr/lib/python3.9/site-packages/django_pglocks/__init__.py
/usr/lib/python3.9/site-packages/django_pglocks/__pycache__
/usr/lib/python3.9/site-packages/django_pglocks/__pycache__/__init__.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/django_pglocks/__pycache__/__init__.cpython-39.pyc
/usr/lib/python3.9/site-packages/django_pglocks/__pycache__/models.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/django_pglocks/__pycache__/models.cpython-39.pyc
/usr/lib/python3.9/site-packages/django_pglocks/__pycache__/test_settings.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/django_pglocks/__pycache__/test_settings.cpython-39.pyc
/usr/lib/python3.9/site-packages/django_pglocks/__pycache__/tests.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/django_pglocks/__pycache__/tests.cpython-39.pyc
/usr/lib/python3.9/site-packages/django_pglocks/models.py
/usr/lib/python3.9/site-packages/django_pglocks/test_settings.py
/usr/lib/python3.9/site-packages/django_pglocks/tests.py
/usr/share/doc/packages/python39-django-pglocks
/usr/share/doc/packages/python39-django-pglocks/CHANGES.txt
/usr/share/licenses/python39-django-pglocks
/usr/share/licenses/python39-django-pglocks/LICENSE.txt


Generated by rpm2html 1.8.1

Fabrice Bellet, Tue Apr 9 12:43:14 2024