Skip to content

Don't block extension update when dependencies on extension views exist - #9946

Merged
svenklemm merged 1 commit into
mainfrom
sven/external_views
Jun 2, 2026
Merged

Don't block extension update when dependencies on extension views exist#9946
svenklemm merged 1 commit into
mainfrom
sven/external_views

Conversation

@svenklemm

@svenklemm svenklemm commented Jun 1, 2026

Copy link
Copy Markdown
Member

During catalog changes we previously had to drop all dependent
objects which meant any user object with a dependency would block
the extension upgrade.
This patch allows user dependencies on timescaledb views by
detaching them from the catalog tables during the upgrade and
restoring them after the extension is upgraded.

Disable-check: force-changelog-file

@github-actions

github-actions Bot commented Jun 1, 2026

Copy link
Copy Markdown

@melihmutlu, @akuzm: please review this pull request.

Powered by pull-review

@svenklemm svenklemm added this to the v2.28.0 milestone Jun 1, 2026
@codecov

codecov Bot commented Jun 1, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@svenklemm
svenklemm force-pushed the sven/external_views branch 6 times, most recently from c1aaf5a to ab3289b Compare June 2, 2026 07:42
During catalog changes we previously had to drop all dependent
objects which meant any user object with a dependency would block
the extension upgrade.
This patch allows user dependencies on timescaledb views by
detaching them from the catalog tables during the upgrade and
restoring them after the extension is upgraded.

This will work for any update from a version >= 2.24.1
@svenklemm
svenklemm force-pushed the sven/external_views branch from ab3289b to 619db7a Compare June 2, 2026 16:47
@svenklemm
svenklemm merged commit c482ad3 into main Jun 2, 2026
70 of 73 checks passed
@svenklemm
svenklemm deleted the sven/external_views branch June 2, 2026 17:29
@timescale-automation timescale-automation added the released-2.28.0 Released in 2.28.0 label Jun 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

released-2.28.0 Released in 2.28.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants