From a4e6030904df63b3f10aa0729b86dc6942b0458e Mon Sep 17 00:00:00 2001 From: Manuel Weitzman Date: Sun, 10 May 2020 12:25:06 -0400 Subject: Fixed #30375 -- Added FOR NO KEY UPDATE support to QuerySet.select_for_update() on PostgreSQL. --- django/db/backends/postgresql/features.py | 1 + 1 file changed, 1 insertion(+) (limited to 'django/db/backends/postgresql') diff --git a/django/db/backends/postgresql/features.py b/django/db/backends/postgresql/features.py index a4ba0b99fc..f8d2ea1286 100644 --- a/django/db/backends/postgresql/features.py +++ b/django/db/backends/postgresql/features.py @@ -18,6 +18,7 @@ class DatabaseFeatures(BaseDatabaseFeatures): has_select_for_update_nowait = True has_select_for_update_of = True has_select_for_update_skip_locked = True + has_select_for_no_key_update = True can_release_savepoints = True supports_tablespaces = True supports_transactions = True -- cgit v1.3