[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1120507: ITP: python-django-pgtransaction -- PostgreSQL isolation level control for Django transactions



Package: wnpp
Severity: wishlist
Owner: Colin Watson <cjwatson@debian.org>
X-Debbugs-Cc: debian-devel@lists.debian.org

* Package name    : python-django-pgtransaction
  Version         : 2.0.0
  Upstream Contact: Wes Kendall <wesleykendall@gmail.com>
* URL             : https://github.com/AmbitionEng/django-pgtransaction
* License         : BSD-3-clause
  Programming Lang: Python
  Description     : PostgreSQL isolation level control for Django transactions

django-pgtransaction offers a drop-in replacement for the default 
django.db.transaction module which, when used on top of a PostgreSQL 
database, extends the functionality of that module with 
Postgres-specific features.

At present, django-pgtransaction offers an extension of the 
django.db.transaction.atomic context manager/decorator which allows one 
to dynamically set transaction characteristics including:

 * Isolation level
 * Read mode (READ WRITE/READ ONLY)
 * Deferrability (DEFERRABLE/NOT DEFERRABLE)
 * Retry policy for Postgres locking exceptions


I'd like to start using this in Debusine, where I'm currently reviewing 
various transaction isolation issues and would rather not have to write 
all the necessary retry logic myself if somebody else has already done 
it for me.  This looks pretty close to what I need.  I'll maintain it 
within the Debian Python Team.

-- 
Colin Watson (he/him)                              [cjwatson@debian.org]


Reply to: