Обсуждение: Psycopg2 GSSAPI

Поиск
Список
Период
Сортировка

Psycopg2 GSSAPI

От
John Morrison
Дата:
Hello,

I am new to using psycopg2 and have come across an issue I cannot find reference to online. Will psycopg2 work with a PostgreSQL database built with GSSAPI? As a wrapper for libpq I would think it could but I find no documentation showing it will and no references stating it won't. Any information on this would be very helpful.

Thank you,
John Morrison


Re: Psycopg2 GSSAPI

От
"P. Christeas"
Дата:
On Friday 18 of March 2016, John Morrison wrote:
> I am new to using psycopg2 and have come across an issue I cannot find
> reference to online. Will psycopg2 work with a PostgreSQL database built
> with GSSAPI?

AFAIK this API is down in the C library level.

As far as you could pass the correct Kerberos strings (you can):
http://www.postgresql.org/docs/9.4/static/libpq-connect.html#LIBPQ-CONNSTRING
.. GSSAPI should work transparently, independent from Python implementation.