Skip to content

Do not download postgres in runtime, when different version is bundled in binary #205

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

qarmin
Copy link

@qarmin qarmin commented Aug 1, 2025

This partially fixes #204

For a long time, I couldn’t understand why this library kept downloading new versions of PostgreSQL, even though we had enabled the bundled feature.

It turned out that in our settings we were using version 17.5 instead of =17.5.0, which caused PostgreSQL to be embedded in the binary during build, but (usually) the same version would still be downloaded from the internet at runtime on the client side — which, in our case, is unacceptable.

I don’t think anyone using the bundled feature would expect the program to download a new version of PostgreSQL at runtime.
But if needed, a separate feature could be added to explicitly allow this behavior.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cannot compile project with only bundled and theseus features and problem with not working bundled feature
1 participant