PQencryptPasswordConn called using PostgreSQL9.6.

From: Valentin Czisch <valentin(dot)czisch(at)greenventory(dot)de>
To: pgsql-novice(at)lists(dot)postgresql(dot)org
Subject: PQencryptPasswordConn called using PostgreSQL9.6.
Date: 2020-04-06 11:38:39
Message-ID: CAML35+5jZ-YF8C5txHYbL3NL02OiPj7=yqR5ZjGDwaSm4F-PhQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

Browse pgsql-novice by date

  From Date Subject
Next Message Mark Kelly 2020-04-06 17:49:03 Re: Tracking mutations in table data
Previous Message David G. Johnston 2020-04-06 02:30:35 Re: Tracking mutations in table data