Skip to content

Fix non-functioning helper sql function #384

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

@AndersAstrand AndersAstrand commented May 31, 2025

This function did not work as it tried to create a vault-v2 provider using kmip options.

This having gone unnoticed however leads me to another question. Are these "helpers" taking json input for all parameters really useful? I'd say they are not and anyone wanting "advanced" configuration should instead use the "raw" pg_tde_add_new_database_key_provider() et.al.

This function did not work as it tried to create a vault-v2 provider
using kmip options.
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 85.42%. Comparing base (61e53af) to head (9fb607a).

❌ Your project status has failed because the head coverage (85.42%) 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     #384   +/-   ##
==================================================
  Coverage              85.42%   85.42%           
==================================================
  Files                     22       22           
  Lines                   2607     2607           
  Branches                 395      395           
==================================================
  Hits                    2227     2227           
  Misses                   305      305           
  Partials                  75       75           
Components Coverage Δ
access 84.20% <ø> (ø)
catalog 88.27% <ø> (ø)
common 91.80% <ø> (ø)
encryption 73.45% <ø> (ø)
keyring 72.00% <ø> (ø)
src 91.40% <ø> (ø)
smgr 97.41% <ø> (ø)
transam ∅ <ø> (∅)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@jeltz
Copy link
Collaborator

jeltz commented Jun 2, 2025

I think this is fine to merge without tests for now but I think the real solution is to remove all of these helper functions as part of the work to remove external parameters.

@AndersAstrand AndersAstrand merged commit 84d1b56 into percona:TDE_REL_17_STABLE Jun 2, 2025
16 checks passed
@AndersAstrand AndersAstrand deleted the tde/fix-non-functioning-function branch June 2, 2025 09:09
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.

3 participants