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

Move utility functions to _timescaledb_functions schema #5997

Merged
merged 1 commit into from
Aug 22, 2023

Conversation

svenklemm
Copy link
Member

@svenklemm svenklemm commented Aug 22, 2023

To increase schema security we do not want to mix our own internal objects with user objects. Since chunks are created in the _timescaledb_internal schema our internal functions should live in a different dedicated schema. This patch make the necessary adjustments for the following functions:

  • generate_uuid()
  • get_git_commit()
  • get_os_info()
  • tsl_loaded()

Disable-check: force-changelog-file

@github-actions
Copy link

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

Powered by pull-review

To increase schema security we do not want to mix our own internal
objects with user objects. Since chunks are created in the
_timescaledb_internal schema our internal functions should live in
a different dedicated schema. This patch make the necessary
adjustments for the following functions:

- generate_uuid()
- get_git_commit()
- get_os_info()
- tsl_loaded()
@codecov
Copy link

codecov bot commented Aug 22, 2023

Codecov Report

Merging #5997 (e355390) into main (183362e) will increase coverage by 0.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #5997      +/-   ##
==========================================
+ Coverage   87.01%   87.02%   +0.01%     
==========================================
  Files         243      243              
  Lines       55964    55960       -4     
  Branches    12385    12384       -1     
==========================================
+ Hits        48697    48700       +3     
+ Misses       4921     4896      -25     
- Partials     2346     2364      +18     

see 27 files with indirect coverage changes

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

@svenklemm svenklemm enabled auto-merge (rebase) August 22, 2023 11:39
@svenklemm svenklemm merged commit cf04496 into timescale:main Aug 22, 2023
37 of 38 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants