diff options
| author | Jacob Kaplan-Moss <jacob@jacobian.org> | 2009-04-02 02:04:59 +0000 |
|---|---|---|
| committer | Jacob Kaplan-Moss <jacob@jacobian.org> | 2009-04-02 02:04:59 +0000 |
| commit | fd7280e4f44601d7fffeedf13a96fccf5bd9fdd2 (patch) | |
| tree | 5ed92ae72afd93c82bd4826cd4acbf381875d9c7 /django/db/backends/postgresql | |
| parent | 33c27f2f284179178c8c759c0de454820e2cbb85 (diff) | |
[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: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10361 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'django/db/backends/postgresql')
| -rw-r--r-- | django/db/backends/postgresql/client.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/django/db/backends/postgresql/client.py b/django/db/backends/postgresql/client.py index 63f28a7b57..03898c45da 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.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: |
