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

Runtime strategies could include uninstalled runtimes #2

Open
allenap opened this issue Oct 8, 2023 · 1 comment
Open

Runtime strategies could include uninstalled runtimes #2

allenap opened this issue Oct 8, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@allenap
Copy link
Owner

allenap commented Oct 8, 2023

For example, on macOS with Homebrew we can find out what PostgreSQL runtimes we could have with:

  1. Obtain list of PostgreSQL formulae: brew formulae | egrep ^postgresql@.
  2. Get JSON information (e.g. version) for these with brew info --json ....

We can select an appropriate runtime the same as now, but then install it if necessary.

Similar story for Debian/Ubuntu and other platforms.

@allenap
Copy link
Owner Author

allenap commented Oct 8, 2023

cargo-pgrx does something broadly similar to this, but more general: it downloads the PostgreSQL source and compiles it. Not sure I want to go down that path – but, on the other hand, it may be possible to reuse that functionality.

@allenap allenap added the enhancement New feature or request label Oct 8, 2023
@allenap allenap transferred this issue from allenap/rust-postgresfixture Oct 9, 2023
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