# pg_tde 2.2.2 (2026-08-20)

> Changes, compatibility notes, and fixes for pg_tde 2.2.2 (2026-08-20).

---

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

---

> This is the Percona pg_tde 2.3.0 manual. For the paired build, backup tools and major upgrades, see [PG TDE on Mimus](/docs/tde/).

The `pg_tde` extension, provided by Percona, adds [Transparent Data Encryption (TDE)](/docs/tde/upstream/index/about-tde/) to PostgreSQL and helps protect sensitive data at rest.

[Get Started](/docs/tde/upstream/install/)

## Release Highlights {#release-highlights}

`pg_tde` 2.2.2 focuses on fixing an issue with performance of WAL encryption and adding support for KMIP with HashiCorp Vault Enterprise. Vault Enterprise was already supported via the Vault V2 protocol, but now KMIP can be used too.

> [!WARNING]
> `pg_tde` 2.2.2 is not compatible with Percona Distribution for PostgreSQL older than 17.10.2 or 18.4.2.

## Known issues {#known-issues}

* The default `mlock` limit on Rocky Linux 8 for ARM64-based architectures equals the memory page size and is 64 Kb. This results in the child process with `pg_tde` failing to allocate another memory page because the max memory limit is reached by the parent process.

    To prevent this, you can change the `mlock` limit to be at least twice the memory page size:

    * temporarily for the current session using the `ulimit -l <value>` command.
    * set a new hard limit in the `/etc/security/limits.conf` file. To do so, you require the superuser privileges.

    Adjust the limits with caution since it affects other processes running in your system.

## Changelog {#changelog}

Changes introduced in `pg_tde` 2.2.2:

### New Features {#new-features}

- [PG-2125](https://perconadev.atlassian.net/browse/PG-2125) - Support using HashiCorp Vault Enterprise with KMIP
- [PG-2473](https://perconadev.atlassian.net/browse/PG-2473) - Basic support for building on Windows with Microsoft Visual C++

### Improvements {#improvements}

- [PG-2494](https://perconadev.atlassian.net/browse/PG-2494) - Improved performance of WAL encryption

### Bug Fixes {#bug-fixes}

- [PG-2492](https://perconadev.atlassian.net/browse/PG-2492) - Fixed crash when empty certificate parameters are passed to `pg_tde_add_global_key_provider_kmip()` or `pg_tde_add_database_key_provider_kmip()`
- [PG-2608](https://perconadev.atlassian.net/browse/PG-2608) - Fixed a race condition in the Vault key provider that could occur when multiple processes accessed the same cURL handle after a fork.
- [PG-2609](https://perconadev.atlassian.net/browse/PG-2609) - Fixed WAL archiving (`pg_tde_archive_decrypt` and `pg_tde_restore_encrypt`) when pg_wal dir is a symlink.
- Include bugfixes for frontend tools from PostgreSQL 16.15, 17.11 and 18.5

[PG.CENTER edition](https://github.com/pgsty/doc.pg.center/blob/4410c32dc9186a22859008303f474b72a779f583/content/percona/release-notes/release-notes-v2.2.2.md) · [Upstream source](https://github.com/percona/pg_tde/blob/5dd7a9e4e3599d88546f5de67ff0f4ef3fe51a9a/documentation/docs/release-notes/release-notes-v2.2.2.md)

---

Backlinks:

- [pg_tde 2.2.2: Vault Enterprise KMIP and faster WAL encryption](/docs/tde/upstream/blog/release/2.2.2/)
- [Upstream release index](/docs/tde/upstream/release-notes/release-notes/)
- [Documentation errata](/docs/tde/upstream/site/errata/)
