Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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
  • Loading branch information...
commit bb2aa792af71521c5572f8f63cc718863393dda7 1 parent 73c0556
@jacobian jacobian authored
Showing with 0 additions and 2 deletions.
  1. +0 −2  django/db/backends/postgresql/client.py
View
2  django/db/backends/postgresql/client.py
@@ -9,8 +9,6 @@ def runshell(self):
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']:
Please sign in to comment.
Something went wrong with that request. Please try again.