PQencryptPasswordConn called using PostgreSQL9.6.

Поиск
Список
Период
Сортировка
От Valentin Czisch
Тема PQencryptPasswordConn called using PostgreSQL9.6.
Дата
Msg-id CAML35+5jZ-YF8C5txHYbL3NL02OiPj7=yqR5ZjGDwaSm4F-PhQ@mail.gmail.com
обсуждение исходный текст
Список pgsql-novice
Hi!

Since PQencryptPasswordConn was added in PostgreSQL10, the following confuses me:

I am using an Azure Database Server with PostgreSQL9.6.16 on Ubuntu. 
During the build of my web app, when the import of the Database is done, I get an ImportError. 

File "/home/site/wwwroot/antenv/lib/python3.7/site-packages/django/db/backends/postgresql/base.py"
import psycopg2 as Database
File "/home/site/wwwroot/antenv/lib/python3.7/site-packages/psycopg2/__init__.py"
from psycopg2._psycopg import ( # noqa
ImportError: /home/site/wwwroot/venv/lib/python3.7/site-packages/psycopg2/_psycopg.cpython-37m-x86_64-linux-gnu.so: undefined symbol: PQencryptPasswordConn

Why would the PQencryptPasswordConn-function be missing in PostgreSQL9.6?
Is my installation of psycopg2 flawed? If so, why and how would I fix this?

Hope this is the right place to ask... Thank you for any advice!

Vale.

В списке pgsql-novice по дате отправления:

Предыдущее
От: "David G. Johnston"
Дата:
Сообщение: Re: Tracking mutations in table data
Следующее
От: Mark Kelly
Дата:
Сообщение: Re: Tracking mutations in table data