#6710: DATABASE_OPTIONS ignored for postgresql_psycopg2
-----------------------+----------------------------------------------------
Reporter:  rcoup       |       Owner:  nobody          
  Status:  new         |   Component:  Database wrapper
 Version:  SVN         |    Keywords:  postgres        
   Stage:  Unreviewed  |   Has_patch:  1               
-----------------------+----------------------------------------------------
 Psycopg2 only looks in the kwargs passed to `psycopg2.connect()` if there
 is no `dsn` string. In django this means everything set in
 `settings.DATABASE_OPTIONS` is happily ignored (eg. `sslmode`) because
 `_cursor()` builds a `dsn` string.

 The attached patch makes all the db params into a dictionary passed via
 kwargs instead.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/6710>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to