Author: jacob
Date: 2009-04-01 21:03:46 -0500 (Wed, 01 Apr 2009)
New Revision: 10360

Modified:
   django/trunk/django/db/backends/postgresql/client.py
Log:
Fixed #10063: stop passing the -W flag to psql since it isn't needed and 
interferes with .pgpass. Thanks, Walter.

Modified: django/trunk/django/db/backends/postgresql/client.py
===================================================================
--- django/trunk/django/db/backends/postgresql/client.py        2009-04-02 
01:57:12 UTC (rev 10359)
+++ django/trunk/django/db/backends/postgresql/client.py        2009-04-02 
02:03:46 UTC (rev 10360)
@@ -9,8 +9,6 @@
         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']:


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to