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

Update community license related errors #5490

Merged
merged 1 commit into from
Mar 27, 2023

Conversation

konskov
Copy link
Contributor

@konskov konskov commented Mar 27, 2023

Update the error message printed when attempting to use a community license feature with apache license installed.

Fixes #5438

@github-actions
Copy link

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

Powered by pull-review

@codecov
Copy link

codecov bot commented Mar 27, 2023

Codecov Report

Merging #5490 (57fde38) into main (a51d21e) will decrease coverage by 0.02%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #5490      +/-   ##
==========================================
- Coverage   90.76%   90.74%   -0.02%     
==========================================
  Files         229      229              
  Lines       53660    53655       -5     
==========================================
- Hits        48703    48689      -14     
- Misses       4957     4966       +9     
Impacted Files Coverage Δ
src/cross_module_fn.c 68.25% <ø> (ø)
src/nodes/chunk_dispatch/chunk_dispatch.c 96.44% <ø> (ø)

... and 6 files with indirect coverage changes

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

Copy link
Member

@akuzm akuzm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This usually goes to errhint or errdetail I think.

https://www.postgresql.org/docs/current/error-style-guide.html

errmsg("functionality not supported under the current \"%s\" license", ts_guc_license),
errhint("Upgrade your license to 'timescale' to use this free community feature.")));
errmsg("functionality not supported under the current \"%s\" license. Learn more at "
"http://timescale.com/.",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

may be https

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good point I think, thank you!

Update the error message printed when attempting to use
a community license feature with apache license installed.

Fixes timescale#5438
@konskov konskov merged commit 22841ab into timescale:main Mar 27, 2023
konskov added a commit to konskov/timescaledb that referenced this pull request Apr 6, 2023
Commit 57fde38 changed the
messaging but did not format the error hint correctly.
This patch fixes the error hint.

Fixes timescale#5490
konskov added a commit to konskov/timescaledb that referenced this pull request Apr 6, 2023
Commit 57fde38 changed the
messaging but did not format the error hint correctly.
This patch fixes the error hint.

Fixes timescale#5490
konskov added a commit to konskov/timescaledb that referenced this pull request Apr 6, 2023
Commit 57fde38 changed the
messaging but did not format the error hint correctly.
This patch fixes the error hint.

Fixes timescale#5490
konskov added a commit to konskov/timescaledb that referenced this pull request Apr 6, 2023
Commit 57fde38 changed the
messaging but did not format the error hint correctly.
This patch fixes the error hint.

Fixes timescale#5490
konskov added a commit that referenced this pull request Apr 10, 2023
Commit 57fde38 changed the
messaging but did not format the error hint correctly.
This patch fixes the error hint.

Fixes #5490
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Enhancement]: Update community license related errors
3 participants