From: <gh...@gh...> - 2004-11-21 20:44:54
|
Jorge Godoy wrote: > Gerhard Haering <gh...@gh...> writes: > > >>On Fri, Nov 19, 2004 at 06:54:15PM +1000, Timothy Smith wrote: >> >>>whats kind of support for ssl connections does pypgsql have? >> >>None so far, but it would be easy to add the additional parameters to >>the connect() function in pyPgSQL/PgSQL.py. > > None? It seems to work here... If I connect with pyPgSQL to a remote > database that only accepts SSL connections it accepts my connection. If > I use psql without SSL, it doesn't connect at all, so I assumed it used > some library from the client side of PostgreSQL. Am I wrong? Well, SSL support in pyPgSQL is just as good as the client library it's linked against. It's just that pyPgSQL's connect() function doesn't have any way to pass information about SSL to the server. Like, if you require SSL, prefer SSL etc. That's important if the server supports both SSL and non-SSL and you want to make sure which method is used. -- Gerhard |