-
-
Notifications
You must be signed in to change notification settings - Fork 247
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information
Showing
5 changed files
with
302 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.