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

Try alternatives to psycopg #486

Open
oyvindhagberg opened this issue Mar 23, 2023 · 0 comments
Open

Try alternatives to psycopg #486

oyvindhagberg opened this issue Mar 23, 2023 · 0 comments
Labels
dependencies Pull requests that update a dependency file

Comments

@oyvindhagberg
Copy link
Contributor

Cameron skriver:

jeg se at du bruker psycopg2-binary. Vær forsiktig med den pakken. Den lenker statisk til bl.a. libssl, libpq, etc. og dette kan føre til f.eks. segfaults i noen tilfeller.

Du mister også kontroll over hvilken versjon av postgres du kjører bak psycopg2. Versjonen som følger med psycopg2 vil brukes.

Se på "psycopg vs psycopg-binary" her:
https://www.psycopg.org/docs/install.html

The binary packages come with their own versions of a few C libraries, among which libpq and libssl, which will be used regardless of other libraries available on the client

Jeg har testet med alpine og podman og jeg tror du kan bruke f.eks. postgresql15-dev som en byggeavhengighet og libpq for runtime.

@oyvindhagberg oyvindhagberg added the dependencies Pull requests that update a dependency file label Mar 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

No branches or pull requests

1 participant