Пакет: python3-django-pglocks (1.0.4-1)
Връзки за python3-django-pglocks
Ресурси за Debian:
- Доклади за грешки
- Developer Information
- Журнал на промените в Debian
- Авторски права
- Управление на кръпките в Debian
Изтегляне на пакет-източник django-pglocks.
- [django-pglocks_1.0.4-1.dsc]
- [django-pglocks_1.0.4.orig.tar.gz]
- [django-pglocks_1.0.4-1.debian.tar.xz]
Отговорници:
Външни препратки:
- Начална страница [github.com]
Подобни пакети:
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.
Други пакети, свързани с python3-django-pglocks
|
|
|
|
-
- dep: python3
- interactive high-level object-oriented language (default python3 version)
-
- dep: python3-django
- High-level Python web development framework
-
- dep: python3-six
- Python 2 and 3 compatibility library
Изтегляне на python3-django-pglocks
Архитектура | Големина на пакета | Големина след инсталиране | Файлове |
---|---|---|---|
all | 5,3 кБ | 27,0 кБ | [списък на файловете] |