Is there a Python library for connecting to a PostgreSQL 8.4 server using certificate authentication? -


We are in the process of upgrading PostgreSQL 8.4 from PostgreSQL 8.3, in a large part so that we can start using. / P>

We have some Python 2.x code that uses a database that uses what is a way to obtain another Python Library which uses a proof to access PostgreSQL ?

Seeing through PyGreSQL source, I found no way to give certificates.

psycopg2 is based on libpq, so it should work there. I do not think there is a specific interface for this, so you have to use environment variables to control it (see libpq document to see it), but it should work. (Disclaimer: I did not really try to do this, but libpq at the top of the job)


Comments

Popular posts from this blog

asp.net - Change the driver in the connection string to a data source in VB.Net -

Getting started consuming web services in a Ruby on Rails 3 application -

objective c - iPhone and it's wireless area -