Skip to content
Rate this page
Thanks for your feedback
Thank you! The feedback has been submitted.

Get free database assistance or contact our experts for personalized support.

Important: pg_upgrade is not supported with encrypted tables (pg_tde)

Percona has identified a limitation affecting the use of pg_upgrade with encrypted tables (pg_tde).

Summary

pg_upgrade is not supported for clusters that contain encrypted tables.

Using pg_upgrade in this scenario corrupts encryption metadata in the target cluster.

Impact

When upgrading a cluster with encrypted tables:

  • Key files in the pg_tde/ directory may be created but remain empty
  • Provider metadata may be missing or incomplete

This may render encrypted data inaccessible after the upgrade.

Who is affected

You are affected if:

  • You are using pg_tde, or
  • Your cluster contains encrypted tables

Do not use pg_upgrade for clusters with encrypted tables.