Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[1.0.X] Fixed #10063: stop passing the -W flag to psql since it isn't…

… needed and interferes with .pgpass. Thanks, Walter. Backport of r10360 from trunk.

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit fd7280e4f44601d7fffeedf13a96fccf5bd9fdd2 1 parent 33c27f2
@jacobian jacobian authored
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.DATABASE_USER:
args += ["-U", settings.DATABASE_USER]
- if settings.DATABASE_PASSWORD:
- args += ["-W"]
if settings.DATABASE_HOST:
args.extend(["-h", settings.DATABASE_HOST])
if settings.DATABASE_PORT:
Please sign in to comment.
Something went wrong with that request. Please try again.