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

Make related code compilable with frontend #266

Merged
merged 4 commits into from
Sep 16, 2024

Conversation

dAdAbird
Copy link
Member

@dAdAbird dAdAbird commented Aug 26, 2024

This commit makes the code around keyring, principal keys and WAL encryption compilable with frontend tools. Namely:

  • Hide everything that isn't compatible and of no use behind '#ifndef FRONTEND'
  • Redefine code that is needed in both versions but should have different code. E.g. error handling, file descriptors and locks
  • Make use of frontend lists instead of backend ones where needed.

For PG-857

@dAdAbird dAdAbird force-pushed the frontend_tools branch 2 times, most recently from 9bb0394 to 4602fbf Compare August 28, 2024 12:38
@dAdAbird dAdAbird marked this pull request as ready for review August 28, 2024 12:47
This commit makes the code around keyring, principal keys and WAL
encryption compilable with frontend tools. Namely:
- Hide everything that isn't compatible and of no use behind
  '#ifndef FRONTEND'
- Redefine code that is needed in both versions but should have
  different code. E.g. error handling, file descriptors and locks
- Make use of frontend lists instead of backend ones where needed.

For https://perconadev.atlassian.net/browse/PG-857
... and all the things work with pg_waldump
@dAdAbird dAdAbird merged commit bf4725f into percona:main Sep 16, 2024
13 checks passed
@dAdAbird dAdAbird deleted the frontend_tools branch September 16, 2024 15:00
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.

2 participants