Upstream software project

django-pglocks

PostgreSQL Advisory Locks for Django

About django-pglocks

PostgreSQL Advisory Locks for Django

This project links 7 native package records across 6 recorded operating-system releases. Compare the retained versions and architectures below, then open the package for your own release.

These are catalog observations, not a guarantee of installation, compatibility, or upstream support.

Project pictures and package coverage

django-pglocks repository preview from GitHub
Project repository preview, supplied by GitHub. Open source repository
Debian 12 (Bookworm): 1 package records; Debian 13 (Trixie): 1 package records; Fedora 43: 1 package records; Fedora 44: 1 package records; openSUSE Leap 15.6: 1 package records; openSUSE Tumbleweed: 2 package records. Catalog coverage diagram, not an application screenshot.django-pglocks: recorded package coverageDebian 12 (Bookworm)1 recordsDebian 13 (Trixie)1 recordsFedora 431 recordsFedora 441 recordsopenSUSE Leap 15.61 recordsopenSUSE Tumbleweed2 records
OpenFactory diagram of linked package records. It is not an application screenshot.

Project identity

Project
django-pglocks
Publisher
Not authoritatively mapped
Native package records
7
Operating systems
debian-12, debian-13, fedora-43, fedora-44, opensuse-leap-15-6, opensuse-tumbleweed
License expression
MIT
Source repository
Open source repository

Source-reported description

The fullest retained description is shown with its source. Distribution packaging descriptions may include downstream details.

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.

Description source

Packages by operating system

Compare recorded versions, then open a package for dependency, file, checksum, and repository evidence. Version strings are distribution-specific, not a ranking of newer software.

Debian 12 (Bookworm)

  1. Package python3-django-pglocks

    bookworm (Debian 12 (Bookworm)) (python): Django based context manager for PostgreSQL advisory locks (Python3 version)

    1.0.4-1: all

    Source: django-pglocks

Debian 13 (Trixie)

  1. Package python3-django-pglocks

    trixie (Debian 13 (Trixie)) (python): Django based context manager for PostgreSQL advisory locks (Python3 version)

    1.0.4-2: all

    Source: django-pglocks

Fedora 43

  1. Package python3-django-pglocks

    43 (Fedora 43) (Unspecified): Context managers for advisory locks for PostgreSQL

    1.0.4-19.fc43: noarch

    Source: python-django-pglocks

Fedora 44

  1. Package python3-django-pglocks

    44 (Fedora 44) (Unspecified): Context managers for advisory locks for PostgreSQL

    1.0.4-20.fc44: noarch

    Source: python-django-pglocks

openSUSE Leap 15.6

  1. Package python311-django-pglocks

    leap-15.6 (openSUSE Leap 15.6) (Development/Languages/Python): PostgreSQL Advisory Locks for Django

    1.0.4-bp156.4.1: noarch

    Source: python-django-pglocks

openSUSE Tumbleweed

  1. Package python313-django-pglocks

    tumbleweed (openSUSE Tumbleweed) (Unspecified): PostgreSQL Advisory Locks for Django

    1.0.4-3.7: noarch

    Source: python-django-pglocks

  2. Package python314-django-pglocks

    tumbleweed (openSUSE Tumbleweed) (Unspecified): PostgreSQL Advisory Locks for Django

    1.0.4-3.7: noarch

    Source: python-django-pglocks

Project resources and further reading

Mapping provenance

Only source-backed identity signals create public cross-OS links. A reviewer can later approve or dispute an inferred relationship without rewriting native package history.

No field-level source record is published yet.