-
Notifications
You must be signed in to change notification settings - Fork 506
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
Fetch remote extension in ALTER EXTENSION UPDATE statements #11102
Conversation
If this PR added a GUC in the Postgres fork or
If you're an external contributor, a Neon employee will assist in |
7887 tests run: 7502 passed, 0 failed, 385 skipped (full report)Code coverage* (full report)
* collected from Rust tests only The comment gets automatically updated with the latest test results
cb5fb4f at 2025-03-07T20:34:59.514Z :recycle: |
Confirmed that this works on staging. I'll work on adding a regression test. |
4b63333
to
b1a556d
Compare
b1a556d
to
6d6a7b0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good
test_runner/regress/data/test_remote_extensions/test_extension/test_extension.control
Show resolved
Hide resolved
6d6a7b0
to
95b09a7
Compare
Previously, remote extensions were not fetched unless they were used in some other manner. For instance, loading a BM25 index in pg_search fetches the pg_search extension. However, if on a fresh compute with pg_search 0.15.5 installed, the user ran `ALTER EXTENSION pg_search UPDATE TO '0.15.6'` without first using the pg_search extension, we would not fetch the extension and fail to find an update path. Signed-off-by: Tristan Partin <[email protected]>
95b09a7
to
cb5fb4f
Compare
Previously, remote extensions were not fetched unless they were used in some other manner. For instance, loading a BM25 index in pg_search fetches the pg_search extension. However, if on a fresh compute with pg_search 0.15.5 installed, the user ran
ALTER EXTENSION pg_search UPDATE TO '0.15.6'
without first using the pg_search extension, we would not fetch the extension and fail to find an update path.