# 100 / 101 · Percona TDE

> Storage and WAL interfaces, startup checks and the matching backup client.

---

LLMS index: [llms.txt](/llms.txt)

---

## Percona storage changes {#storage}

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](https://github.com/percona/postgres)

## Integration and compatibility {#add-only}

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](/docs/tde/).

## Index DDL on encrypted tables {#index-ddl}

In the four-change Babelfish and TDE candidate, `002-pg-tde-index-encryption.patch` changes the DDL event handler in the **pg_tde extension**. A B-tree index reports `btree` in `pg_am`. The extension reads the index file’s encryption state when handling `ALTER INDEX`, including the internal ALTER that records the original name of an index created over TDS.

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](/docs/mssql/encrypted-tables/#verify) · [Candidate build manifest](/docs/patches/mssql/#tde-increments)

---

Backlinks:

- [400 / 401 · SQL Server](/docs/patches/mssql/)
- [PG TDE](/docs/tde/)
