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

Backport to 2.12.x: #6160: Improve arg handling in continuous_agg_trigfn #6162

Merged
merged 1 commit into from
Oct 6, 2023

Conversation

timescale-automation
Copy link

This is an automated backport of #6160: Improve arg handling in continuous_agg_trigfn.
This PR will be merged automatically after all the relevant CI checks pass. If this fix should not be backported, or will be backported manually, just close this PR. You can use the backport branch to add your changes, it won't be modified automatically anymore.

For more details, please see the documentation

Original description

Improve arg handling in continuous_agg_trigfn

When continuous_agg_invalidation_trigger is called without any argument, fcinfo->context in continuous_agg_trigfn is NULL and it should not be dereferenced.


Disable-check: force-changelog-file

When continuous_agg_invalidation_trigger is called without any argument,
fcinfo->context in continuous_agg_trigfn is NULL and it should not be
dereferenced.

(cherry picked from commit b514d05)
@codecov
Copy link

codecov bot commented Oct 6, 2023

Codecov Report

❗ No coverage uploaded for pull request base (2.12.x@2f11814). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             2.12.x    #6162   +/-   ##
=========================================
  Coverage          ?   81.53%           
=========================================
  Files             ?      246           
  Lines             ?    56771           
  Branches          ?    12576           
=========================================
  Hits              ?    46290           
  Misses            ?     8077           
  Partials          ?     2404           

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

@timescale-automation timescale-automation merged commit e375a66 into 2.12.x Oct 6, 2023
36 checks passed
@timescale-automation timescale-automation deleted the backport/2.12.x/6160 branch October 6, 2023 17:11
@fabriziomello fabriziomello modified the milestone: TimescaleDB 2.12.1 Oct 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
is-auto-backport PR created by backport automation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants