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

Silence WARNING after extension update #5540

Conversation

fabriziomello
Copy link
Contributor

@fabriziomello fabriziomello commented Apr 10, 2023

Commit 8afdddc added the first step for deprecating the old format of Continuous Aggregate but just for PostgreSQL 15 and later versions.

During the extension update we emit a message about the deprecation but this has being emited even if the user is using PostgreSQL versions before 15.

Fixed it by emiting the WARNING just when PostgreSQL version is greater or equal to 15.

Disable-check: force-changelog-changed

Commit 8afdddc added the first step for deprecating the old format
of Continuous Aggregate but just for PostgreSQL 15 and later versions.

During the extension update we emit a message about the deprecation but
this has being emited even if the user is using PostgreSQL versions
before 15.

Fixed it by emiting the WARNING just when PostgreSQL version is greater
or equal to 15.
@fabriziomello fabriziomello added continuous_aggregate tech-debt Needs refactoring and improvement tasks related to the source code and its architecture. labels Apr 10, 2023
@fabriziomello fabriziomello self-assigned this Apr 10, 2023
@github-actions
Copy link

@mahipv, @svenklemm: please review this pull request.

Powered by pull-review

@codecov
Copy link

codecov bot commented Apr 10, 2023

Codecov Report

Merging #5540 (79eb9d3) into main (3814a3f) will decrease coverage by 0.05%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #5540      +/-   ##
==========================================
- Coverage   90.46%   90.42%   -0.05%     
==========================================
  Files         229      229              
  Lines       53856    53851       -5     
==========================================
- Hits        48723    48696      -27     
- Misses       5133     5155      +22     

see 7 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@fabriziomello fabriziomello merged commit 9a466ca into timescale:main Apr 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
continuous_aggregate tech-debt Needs refactoring and improvement tasks related to the source code and its architecture.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants