-
-
Notifications
You must be signed in to change notification settings - Fork 302
Closed
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers
Description
It would be nice to have a pgrx command to install an extension into pgrx-managed instance $PG_MAJOR, without starting that instance or starting psql.
cargo pgrx installinstalls to wherever pg_config points, not necessarily a pgrx-managed instance. A shell command likecargo pgrx install "$PGRX_HOME"/$PG_MAJOR*/pgrx-install/bin/pg_configdoes what I want, but it would be nice if it was a built-in command.cargo run $PG_MAJORdoes what I want, but it also starts the instance and psql.
The syntax for this improvement could be:
- a new optional PG_VERSION positional argument in
cargo pgrx install(i.e. it would becomecargo pgrx install [OPTIONS] [PG_VERSION]) - a new option in
cargo pgrx run, but I can't think of an appropriate name.cargo pgrx run $PG_MAJOR --install-only?
Does this makes sense? Maybe it's already built in but I couldn't find it?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers