# pg_tde 2.2.1 (2026-07-06)

> Changes, compatibility notes, and fixes for pg_tde 2.2.1 (2026-07-06).

---

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/).

> [!NOTE] Historical release
> This page describes this release at publication time. For current deployment requirements, read the [supported versions](/docs/tde/upstream/index/supported-versions/) and [limitations](/docs/tde/upstream/index/tde-limitations/).

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.1 focuses on stability and compatibility improvements. This release improves `pg_rewind` reliability. For more details, see the [Changelog](#changelog).

> [!WARNING]
> `pg_tde` 2.2.1 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.1:

### New Features {#new-features}

- [PG-2398](https://perconadev.atlassian.net/browse/PG-2398) - PostgreSQL 16 support

### Bug Fixes {#bug-fixes}

- [PG-2407](https://perconadev.atlassian.net/browse/PG-2407) - Fixed multiple issues affecting `pg_rewind` for `pg_tde` clusters, improving reliability during rewind and recovery operations.
- [PG-2258](https://perconadev.atlassian.net/browse/PG-2258) - Fixed "could not find server principal key" error from `pg_tde_basebackup`

### Changes {#changes}

- Remove support for building `pg_tde` with `make`, now it can only be built with Meson

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

---

Backlinks:

- [pg_tde 2.2.1: PostgreSQL 16 support and safer rewind](/docs/tde/upstream/blog/release/2.2.1/)
- [Upstream release index](/docs/tde/upstream/release-notes/release-notes/)
