diff options
author | Tim Graham <timograham@gmail.com> | 2022-04-13 20:15:51 -0400 |
---|---|---|
committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2022-04-14 06:46:42 +0200 |
commit | a32876606f1346d4fbdab3813061f8a79cb23ac2 (patch) | |
tree | ef2909fe3612893b00114b0023f56781bb20788e /django/db/backends/postgresql/operations.py | |
parent | 2eea361eff58dd98c409c5227064b901f41bd0d6 (diff) | |
download | django-a32876606f1346d4fbdab3813061f8a79cb23ac2.tar.gz |
Removed unneeded code in explain_query_prefix()
Diffstat (limited to 'django/db/backends/postgresql/operations.py')
-rw-r--r-- | django/db/backends/postgresql/operations.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/db/backends/postgresql/operations.py b/django/db/backends/postgresql/operations.py index ab451ac63f..ec162d53f4 100644 --- a/django/db/backends/postgresql/operations.py +++ b/django/db/backends/postgresql/operations.py @@ -320,7 +320,7 @@ class DatabaseOperations(BaseDatabaseOperations): for valid_option in self.explain_options: value = options.pop(valid_option, None) if value is not None: - extra[valid_option.upper()] = value + extra[valid_option] = value prefix = super().explain_query_prefix(format, **options) if format: extra["FORMAT"] = format |