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

cargo pgrx upgrade doesn't do workspaces #1814

Open
workingjubilee opened this issue Aug 15, 2024 · 0 comments
Open

cargo pgrx upgrade doesn't do workspaces #1814

workingjubilee opened this issue Aug 15, 2024 · 0 comments

Comments

@workingjubilee
Copy link
Member

workingjubilee commented Aug 15, 2024

A common, recommended pattern for using pgrx, is a workspace like this:

[workspace]
members = [
    "rust-library",
    "pgrx-extension", # exposes rust-library as an extension
]

I ran

cd workspace-repo
cargo pgrx upgrade --to 0.12.0-beta.5

It did not produce a git diff, but when I added these commands, it did:

cd pgrx-extension # so, at this point, cd workspace-repo/pgrx-extension
cargo pgrx upgrade --to 0.12.0-beta.5

I would expect these two to have the same result in the event of this pattern.

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

No branches or pull requests

1 participant