Skip to content

Conversation

dAdAbird
Copy link
Member

@dAdAbird dAdAbird commented Nov 27, 2024

This PR:

  • Adds build infrastructure for the frontend tools to compile with pg_tde. pg_tde dependencies will be built only if build flag precone_ext is on. It also makes openssl and curl required if precone_ext is on.
  • Makes pg_waldump work with the TDE encrypted WAL. If user set -k flag it will try to init tde keys etc and decode encrypted pages. If no -k options set, it behaves like community version - won't try to ini tde and won't be able to decrypt WAL.
  • Adds tap tests for encrypted WAL to pg_waldump.
  • Fixes Percona versioning in ./configure

For PG-1003, PG-1005
Depends percona/pg_tde#362

@dAdAbird dAdAbird marked this pull request as ready for review November 29, 2024 16:38
@dAdAbird dAdAbird requested a review from dutow November 29, 2024 16:38
dAdAbird added a commit to percona/pg_tde that referenced this pull request Nov 30, 2024
This commit:
1. Removes autoconf builds for pg_tde so it can be together built with Postgres (now, used would have to go to contrib/pg_tde and build it explicitly after building Postgres) with make. There are still left pg_tde builds in CI tests since this PR depends on percona/postgres#20. So those leftover will be removed after merging PG PR
2. Adds necessary changes regarding new code (like kmip) so frontend tools (pg_waldump et al) can be compiled with pg_tde
2. Get rid of realpath as it has issues with optimised builds

For: PG-1003, PG-1005
@dAdAbird dAdAbird merged commit f4d272b into percona:TDE_REL_17_STABLE Nov 30, 2024
1 of 2 checks passed
@dAdAbird dAdAbird deleted the waldump_dec branch November 30, 2024 12:43
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