Upgrade pg_tde
Percona’s package upgrade steps apply to Percona PostgreSQL. For a major upgrade of a TDE-marked Mimus cluster use logical dump and restore.
The version of pg_tde available to you depends on your version of Percona Distribution for PostgreSQL.
To use a newer pg_tde release, first ensure that your Percona Distribution for PostgreSQL version includes it.
This document describes upgrading the pg_tde extension within the same PostgreSQL major version. For PostgreSQL major version upgrades on clusters that use pg_tde, use pg_tde_upgrade.
Before you start
pg_tde 2.2.0 is not compatible with Percona Distribution for PostgreSQL older than 17.10 or 18.4. Upgrade your distribution first before upgrading pg_tde.
Using pg_upgrade on an encrypted cluster is not supported and will result in data corruption. The server may start successfully but queries against encrypted tables will fail.
Procedure
Take a full backup before upgrading.
Upgrade the
pg_tdepackage via your package manager.Restart the
postgresqlservice.Connect to each database where
pg_tdeis installed and run:NoteThe catalog version of
pg_tdemay not change between patch releases. You can runALTER EXTENSION pg_tde UPDATEsafely regardless.Verify the upgrade: