diff options
| author | Aymeric Augustin <aymeric.augustin@m4x.org> | 2014-07-28 14:30:41 +0200 |
|---|---|---|
| committer | Aymeric Augustin <aymeric.augustin@m4x.org> | 2014-07-28 14:30:41 +0200 |
| commit | 729e4ae4f0730585ac4640e7fa3aa06374677ff2 (patch) | |
| tree | ed724443e2dfc55150a518959ef44c299b6a9e71 /django/db/backends/postgresql_psycopg2/base.py | |
| parent | 53a61d82b38b7c39fa8ec4bd3047014694e96f60 (diff) | |
Fixed #23074 -- Avoided leaking savepoints in atomic.
Thanks Chow Loong Jin for the report and the initial patch.
Diffstat (limited to 'django/db/backends/postgresql_psycopg2/base.py')
| -rw-r--r-- | django/db/backends/postgresql_psycopg2/base.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/django/db/backends/postgresql_psycopg2/base.py b/django/db/backends/postgresql_psycopg2/base.py index 7b2cdc0aa2..4cd327a22b 100644 --- a/django/db/backends/postgresql_psycopg2/base.py +++ b/django/db/backends/postgresql_psycopg2/base.py @@ -50,6 +50,7 @@ class DatabaseFeatures(BaseDatabaseFeatures): has_select_for_update_nowait = True has_bulk_insert = True uses_savepoints = True + can_release_savepoints = True supports_tablespaces = True supports_transactions = True can_introspect_ip_address_field = True |
