Postgres and SSL

Jorge Luiz Godoy Filho godoy at ieee.org
Fri Feb 11 12:34:35 EST 2005


Greg Lindstrom wrote:

> I'm on a Linux box running python 2.3 and would like to connect to a
> postgres database via SSL, but have not been able to find a module to do
> this (or haven't figured out the syntax).  Can anyone help me out?

With both psycopg and pypgsql it depends on how your libpq was compiled.  If
the libraries from your PostgreSQL installation were compiled to support
SSL, then you can connect to the server without any problems. 


Be seeing you,
Godoy.



More information about the Python-list mailing list