Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade python PostgreSQL adapter from psycopg2 to psycopg3 #1

Open
UsualSpec opened this issue Jul 8, 2024 · 0 comments
Open

Upgrade python PostgreSQL adapter from psycopg2 to psycopg3 #1

UsualSpec opened this issue Jul 8, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@UsualSpec
Copy link
Collaborator

Currently all python scripts use psycopg2.
However, psycopg3 is available (https://www.psycopg.org/psycopg3/docs/). psycopg3 is by default compatible with gevent what we use for the web based applicatoins (e.g. it supports monkey patching out of the box --> Can be run more reliably on the webserver) and has an easier transaction model.

We should update to psycopg2 in future. This may require some work.

@UsualSpec UsualSpec added the enhancement New feature or request label Jul 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant