# pg_tde 2.1.2 (2026-03-02)

> Changes, compatibility notes, and fixes for pg_tde 2.1.2 (2026-03-02).

---

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}

### Documentation updates {#documentation-updates}

* The [Architecture](/docs/tde/upstream/architecture/overview/) documentation is redesigned for improved clarity and readability. The chapter is now split into smaller, more focused sections.
* The [Technical reference overview](/docs/tde/upstream/advanced-topics/tech-reference/) is updated with quick-skim cards for quick topic access.
* A dedicated [Usage reference](/docs/tde/upstream/advanced-topics/usage-guide/) topic is introduced which describes the main `pg_tde` operations available.

## Known issues {#known-issues}

* `pg_rewind` and `pg_tde_rewind`

    Using `pg_rewind` or `pg_tde_rewind` between diverged nodes in clusters that use `pg_tde` may lead to corrupted tables or indexes due to internal encryption key differences between clusters.

    Queries may fail with:

    ```bash
    ERROR: invalid page in block 0 of relation "base/..."
    ```

    This behavior is a known issue.

    For more information, see [pg_tde limitations](/docs/tde/upstream/index/tde-limitations/).

* `pg_upgrade` is currently unsupported when `pg_tde` is enabled

    PostgreSQL clusters that use `pg_tde` cannot currently be upgraded using `pg_upgrade`.

* Do not create, change, or rotate global key providers (or their keys) while `pg_tde_basebackup` is running. Doing so may cause standbys or clusters initialized from the backup to fail during WAL replay and may result in corruption of encrypted data (tables, indexes, and other relations).

* Using `pg_tde_basebackup` with `--wal-method=fetch` produces warnings.

    This behavior is expected and will be addressed in a future release.

* 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 bigger than 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}

### Improvements {#improvements}

* [PG-2088 ](https://perconadev.atlassian.net/browse/PG-2088), [PG-2179 ](https://perconadev.atlassian.net/browse/PG-2179) - Improved handling of Vault/OpenBao KV v2 mount point validation in `pg_tde`. The extension no longer fails when configured with tokens that lack access to mount metadata endpoints and now works correctly with tokens that have only the required KV v2 read/write permissions.

### Bugs Fixed {#bugs-fixed}

* Updated `pg_tde` CLI tools to include upstream bug fixes and stability improvements from PostgreSQL 18.2 and 17.8.

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

---

Backlinks:

- [Upstream release index](/docs/tde/upstream/release-notes/release-notes/)
