Skip to content
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: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 73c0556 commit bb2aa792af71521c5572f8f63cc718863393dda7 @jacobian jacobian committed
Showing with 0 additions and 2 deletions.
  1. +0 −2 django/db/backends/postgresql/
2 django/db/backends/postgresql/
@@ -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']:

0 comments on commit bb2aa79

Please sign in to comment.
Something went wrong with that request. Please try again.