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

feat(cargo-pgrx): add support for downloading specific pg versions #1605

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

Commits on Jul 2, 2024

  1. feat(cargo-pgrx): add support for downloading specific pg versions

    This commit adds support for downloading a specific version of
    Postgres when running `cargo pgrx init` via tarball.
    
    Some example invocations would look like:
    - `cargo pgx init --pg12=12.6`
    
    Where as previously you could only provide a path to an existing
    `pg_config` from a Postgres installation (which you needed to place
    yourself), with this PR we can now specify either the version or a
    tarball.
    
    This PR does not solve the problem of allowing *any* URL to be used as
    a download URL, but instead only uses https://ftp.postgresql.org derived URLs.
    t3hmrman committed Jul 2, 2024
    Configuration menu
    Copy the full SHA
    326869c View commit details
    Browse the repository at this point in the history