From bb2aa792af71521c5572f8f63cc718863393dda7 Mon Sep 17 00:00:00 2001 From: Jacob Kaplan-Moss Date: Thu, 2 Apr 2009 02:03:46 +0000 Subject: [PATCH] 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 --- django/db/backends/postgresql/client.py | 2 -- 1 file changed, 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']: