pg_tde 2.1.2 (2026-03-02)
This is the Percona pg_tde 2.3.0 manual. For the paired build, backup tools and major upgrades, see PG TDE on Mimus.
This page describes this release at publication time. For current deployment requirements, read the supported versions and limitations.
The pg_tde extension, provided by Percona, adds Transparent Data Encryption (TDE) to PostgreSQL and helps protect sensitive data at rest.
Release Highlights
Documentation updates
- The Architecture documentation is redesigned for improved clarity and readability. The chapter is now split into smaller, more focused sections.
- The Technical reference overview is updated with quick-skim cards for quick topic access.
- A dedicated Usage reference topic is introduced which describes the main
pg_tdeoperations available.
Known issues
pg_rewindandpg_tde_rewindUsing
pg_rewindorpg_tde_rewindbetween diverged nodes in clusters that usepg_tdemay lead to corrupted tables or indexes due to internal encryption key differences between clusters.Queries may fail with:
This behavior is a known issue.
For more information, see pg_tde limitations.
pg_upgradeis currently unsupported whenpg_tdeis enabledPostgreSQL clusters that use
pg_tdecannot currently be upgraded usingpg_upgrade.Do not create, change, or rotate global key providers (or their keys) while
pg_tde_basebackupis 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_basebackupwith--wal-method=fetchproduces warnings.This behavior is expected and will be addressed in a future release.
The default
mlocklimit on Rocky Linux 8 for ARM64-based architectures equals the memory page size and is 64 Kb. This results in the child process withpg_tdefailing to allocate another memory page because the max memory limit is reached by the parent process.To prevent this, you can change the
mlocklimit 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.conffile. To do so, you require the superuser privileges.
Adjust the limits with caution since it affects other processes running in your system.
- temporarily for the current session using the
Changelog
Improvements
- PG-2088 , 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
- Updated
pg_tdeCLI tools to include upstream bug fixes and stability improvements from PostgreSQL 18.2 and 17.8.