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

Replace psycopg2 usage with psycopg #82

Open
spwoodcock opened this issue Jan 20, 2025 · 0 comments
Open

Replace psycopg2 usage with psycopg #82

spwoodcock opened this issue Jan 20, 2025 · 0 comments
Labels
dependency Includes a dependency change effort:medium Likely a day or two priority:low Backlog of tasks that will be addressed in time

Comments

@spwoodcock
Copy link
Member

spwoodcock commented Jan 20, 2025

Is your feature request related to a problem? Please describe.

  • We use a new psycopg2 connection here.
  • It would be nicer if we could use psycopg (psycopg3) and reuse upstream connections.

Describe the solution you'd like

  • Replace psycopg2 with psycopg.
  • Examples can be found in geojson-aoi-parser and pg-nearest-city repos.

Additional context

Being able to handle both sync and async connections would be very nice.

@spwoodcock spwoodcock added dependency Includes a dependency change effort:medium Likely a day or two priority:low Backlog of tasks that will be addressed in time labels Jan 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependency Includes a dependency change effort:medium Likely a day or two priority:low Backlog of tasks that will be addressed in time
Projects
None yet
Development

No branches or pull requests

1 participant