summaryrefslogtreecommitdiff
path: root/django/db/backends/postgresql/client.py
diff options
context:
space:
mode:
authorJacob Kaplan-Moss <jacob@jacobian.org>2009-04-02 02:03:46 +0000
committerJacob Kaplan-Moss <jacob@jacobian.org>2009-04-02 02:03:46 +0000
commitbb2aa792af71521c5572f8f63cc718863393dda7 (patch)
tree551c7f1b7983f22821b0207c4511d643085f3edc /django/db/backends/postgresql/client.py
parent73c0556911858797e5345bda3a028a5f2658e7ea (diff)
downloaddjango-bb2aa792af71521c5572f8f63cc718863393dda7.tar.gz
Fixed #10063: stop passing the -W flag to psql since it isn't needed and interferes with .pgpass. Thanks, Walter.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10360 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'django/db/backends/postgresql/client.py')
-rw-r--r--django/db/backends/postgresql/client.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/django/db/backends/postgresql/client.py b/django/db/backends/postgresql/client.py
index 506372bfc4..695017130f 100644
--- a/django/db/backends/postgresql/client.py
+++ b/django/db/backends/postgresql/client.py
@@ -9,8 +9,6 @@ class DatabaseClient(BaseDatabaseClient):
args = [self.executable_name]
if settings_dict['DATABASE_USER']:
args += ["-U", settings_dict['DATABASE_USER']]
- if settings_dict['DATABASE_PASSWORD']:
- args += ["-W"]
if settings_dict['DATABASE_HOST']:
args.extend(["-h", settings_dict['DATABASE_HOST']])
if settings_dict['DATABASE_PORT']: