django-pglocks 1.0.4-1 source package in Ubuntu
Changelog
django-pglocks (1.0.4-1) unstable; urgency=medium * Upload to unstable * [9600bad] d/control: Remove obsolet Testsuite entry * [5198aa0] d/control: Update Standards-Version to 4.6.0 No further changes needed. * [c5df6fb] d/rules: Remove non needed export of PYBUILD_SYSTEM * [4a5e2f9] d/u/metadata: Correct URL for bug reporting -- Carsten Schoenert <email address hidden> Sun, 28 Nov 2021 09:26:20 +0200
Upload details
- Uploaded by:
- Debian Python Team
- Uploaded to:
- Sid
- Original maintainer:
- Debian Python Team
- Architectures:
- all
- Section:
- misc
- Urgency:
- Medium Urgency
Downloads
File | Size | SHA-256 Checksum |
---|---|---|
django-pglocks_1.0.4-1.dsc | 2.0 KiB | c49f5f0aa590c9d0ceafd947d3a85f84d177211026b7af58ad8d04608090a3c7 |
django-pglocks_1.0.4.orig.tar.gz | 4.0 KiB | 3c47c66fbfbd268ef46269673a0516a039539b0972b8ed2ec9cfee44c4b65523 |
django-pglocks_1.0.4-1.debian.tar.xz | 3.3 KiB | 52205d489732080aaf5132a890c305178c241c9df2d0d5f730fd3ecb6afedad6 |
No changes file available.
Binary packages built by this source
- python3-django-pglocks: Django based context manager for PostgreSQL advisory locks (Python3 version)
django-pglocks is a context manager for Django.
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.
.
This package contains the Python 3 version of the library.