[pgAdmin 4][Patch]: #7314 - psycopg2 to psycopg3 migration

From: Khushboo Vashi <khushboo(dot)vashi(at)enterprisedb(dot)com>
To: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: [pgAdmin 4][Patch]: #7314 - psycopg2 to psycopg3 migration
Date: 2022-08-30 09:38:22
Message-ID: CAFOhELcHdsCEdvjdqbODVxX84=4ak5gWkGB=sfQavtDj-5kWyg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Hello,

Please find the attached patch to migrate psycopg2 to psycopg3. I have used
psycopg v 3.1.0 which is yet to be released soon. To test the patch, one
needs to clone the psycopg3 repo, build it and point it to the pgadmin venv.

For the time being, psycopg2 and psycopg3 both can be configurable
via PG_DEFAULT_DRIVER
and can be used.

With this patch many SQL Ascii related issues and Range partition
related issues are resolved. For example: #7028, # 6575, #4061, #7165.

I have verified some of them but we need to test all of them.

Note: Debugger test cases are still failing, on which I am still working.

Thanks,
Khushboo

Attachment Content-Type Size
psycopg3_migration.patch application/octet-stream 854.9 KB

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Fahar Abbas 2022-08-30 10:07:24 Housekeeping #7446 [docs] Update keyboard shortcut docs page
Previous Message Akshay Joshi 2022-08-30 08:53:05 Re: Sonarqube fixes