Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Remove pluralization of enum name #452

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

Conversation

AndersAstrand
Copy link
Collaborator

Having this enum named as a plural made little sense as any value of this type is just a single code and not multiple.

@codecov-commenter
Copy link

codecov-commenter commented Jun 25, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 84.66%. Comparing base (600172d) to head (2a2bbac).
Report is 3 commits behind head on TDE_REL_17_STABLE.

❌ Your project status has failed because the head coverage (84.66%) is below the target coverage (90.00%). You can increase the head coverage or adjust the target coverage.

Additional details and impacted files
@@                Coverage Diff                 @@
##           TDE_REL_17_STABLE     #452   +/-   ##
==================================================
  Coverage              84.65%   84.66%           
==================================================
  Files                     21       21           
  Lines                   2588     2589    +1     
  Branches                 401      402    +1     
==================================================
+ Hits                    2191     2192    +1     
  Misses                   316      316           
  Partials                  81       81           
Components Coverage Δ
access 81.11% <ø> (ø)
catalog 88.22% <ø> (ø)
common 77.77% <ø> (ø)
encryption 73.45% <ø> (ø)
keyring 72.88% <100.00%> (ø)
src 91.44% <ø> (ø)
smgr 94.88% <ø> (+0.02%) ⬆️
transam ∅ <ø> (∅)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Collaborator

@jeltz jeltz left a comment

Choose a reason for hiding this comment

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

Commit message should probably also refer to PostgreSQL's code style.

@AndersAstrand
Copy link
Collaborator Author

Commit message should probably also refer to PostgreSQL's code style.

Do you have a suggestion on how to word this? Is there anything documented about it or is it just what postgresql mostly does?

Having this enum named as a plural made little sense as any value of
this type is just a single code and not multiple.

The postgres code does not have pluralized enum names, so we shouldn't
either.
@AndersAstrand AndersAstrand force-pushed the tde/singularize-enum-name branch from 886b69c to 2a2bbac Compare June 25, 2025 14:46
@AndersAstrand AndersAstrand merged commit 1cfac0a into percona:TDE_REL_17_STABLE Jun 25, 2025
19 checks passed
@AndersAstrand AndersAstrand deleted the tde/singularize-enum-name branch June 25, 2025 15:17
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.

4 participants