On Mar 7, 8:18 am, "schmichael" <[EMAIL PROTECTED]> wrote:
> I can't seem to find the correct DSN to connect to PostgreSQL via SSL
> in Turbogears/SQLObjects.
>
> Neither of these two DSNs work:
> sqlobject.dburi="psycopg://networklog:[EMAIL PROTECTED]/
> networklog?sslmode=require"
> sqlobject.dburi="postgres://networklog:[EMAIL PROTECTED]/
> networklog?sslmode=require"

This does work:

sqlobject.dburi="postgres://networklog:[EMAIL PROTECTED]/
networklog sslmode=require"

All I had to do was drop the question mark.  This syntax is utterly
bizarre, and I had to read SQLObject's source to figure it out.

Michael


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" 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/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to