100 / 101 · Percona TDE
Percona storage changes
100 imports selected changes from Percona’s PostgreSQL 19 tree, including its TOAST fix. A pluggable storage manager, relation-file identity during rewrites, asynchronous I/O callbacks and WAL segment I/O hooks give pg_tde a place to encrypt and decrypt pages. The extension supplies tde_heap, key management and the WAL implementation. Percona PostgreSQL
Integration and compatibility
101 integrates callback registration and checks that the TDE storage, WAL and recovery methods are ready before replay on a marked directory. The matching backup client checks whether the source requires TDE-aware WAL handling. Using an older plain client can bypass this check. The paired pg_tde_waldump also identifies Spock’s subtransaction commit-time record in encrypted WAL. These interfaces affect extension builds even if every application table uses ordinary heap storage.
To choose which objects to encrypt and which backup tool to use, follow the PG TDE manual.
Index DDL on encrypted tables
In r4, ext-pg-tde-002-index-encryption.patch changes the DDL event handler in the pg_tde extension. A B-tree index reports btree in pg_am. The extension checks the index file’s encryption state during ALTER INDEX, including the internal operation that records the original name of a TDS index.
Acceptance covered enforcement both on and off. Encrypted indexes stayed encrypted after a fillfactor change, a tablespace move and REINDEX. Enforcement continued to reject parameter changes to a plaintext index. Existing indexes retain their own storage state. Check indexes moved with an older build individually by OID. Verify indexes and TOAST · Candidate build manifest
WAL and online backup
Kernel layer 100 and pg_tde extension patch 009 carry the WAL key-switch fix. Layer 101 exposes the backup page-verification callback. Extension patch 010 decrypts a copy of the page for checksum verification and fixes temporary-key cleanup. Recovery still depends on the historical keys and their mappings. Restore and verify a backup
