summaryrefslogtreecommitdiff
path: root/django/db/backends/postgresql/client.py
diff options
context:
space:
mode:
authorJarrett Keifer <jkeifer@users.noreply.github.com>2022-07-17 21:30:20 -0700
committerGitHub <noreply@github.com>2022-07-18 06:30:20 +0200
commit3e3e8141662c70d74d3aaef9d4b053c9636ea0d7 (patch)
treee937b83961cb1a40f240f009c6b30f6615b536ea /django/db/backends/postgresql/client.py
parentb4817d20b9e55df30be0b1b2ca8c8bb6d61aab07 (diff)
downloaddjango-3e3e8141662c70d74d3aaef9d4b053c9636ea0d7.tar.gz
Fixed #33854 -- Corrected the order of parameters in dbshell on PostgreSQL.
Diffstat (limited to 'django/db/backends/postgresql/client.py')
-rw-r--r--django/db/backends/postgresql/client.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/db/backends/postgresql/client.py b/django/db/backends/postgresql/client.py
index 4c9bd63546..3b5ddafaca 100644
--- a/django/db/backends/postgresql/client.py
+++ b/django/db/backends/postgresql/client.py
@@ -32,9 +32,9 @@ class DatabaseClient(BaseDatabaseClient):
args += ["-h", host]
if port:
args += ["-p", str(port)]
+ args.extend(parameters)
if dbname:
args += [dbname]
- args.extend(parameters)
env = {}
if passwd: