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
Post a Comment