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
This commit is contained in:
parent
73c0556911
commit
bb2aa792af
|
@ -9,8 +9,6 @@ class DatabaseClient(BaseDatabaseClient):
|
||||||
args = [self.executable_name]
|
args = [self.executable_name]
|
||||||
if settings_dict['DATABASE_USER']:
|
if settings_dict['DATABASE_USER']:
|
||||||
args += ["-U", settings_dict['DATABASE_USER']]
|
args += ["-U", settings_dict['DATABASE_USER']]
|
||||||
if settings_dict['DATABASE_PASSWORD']:
|
|
||||||
args += ["-W"]
|
|
||||||
if settings_dict['DATABASE_HOST']:
|
if settings_dict['DATABASE_HOST']:
|
||||||
args.extend(["-h", settings_dict['DATABASE_HOST']])
|
args.extend(["-h", settings_dict['DATABASE_HOST']])
|
||||||
if settings_dict['DATABASE_PORT']:
|
if settings_dict['DATABASE_PORT']:
|
||||||
|
|
Loading…
Reference in New Issue