pg_vault_tde v1.7.2 Released with PostgreSQL Crash Fixes and Indexing Updates

Editorial illustration of a metal database cylinder with an integrated safe lock.

PostgreSQL extension pg_vault_tde has received a binary patch update to version 1.7.2, introducing critical stability fixes, index query correctness updates, and key management adjustments for transparent data encryption workloads. While the extension version identifier remains at 1.7, database administrators can verify the installed build at runtime by calling pg_vault_tde_build_version().

Query Reliability and Index Adjustments

The release addresses data stability issues across several core database operations. In prior builds, UPDATE operations performed on tables containing indexed variable-length columns could trigger crashes. The update also resolves a defect where tables containing an all-NULL row became completely unreadable, alongside adjusting the timing of TOAST tuple threshold evaluations so they occur only after encryption processes finish. Furthermore, the tde_btree index implementation has been restricted to answer strictly equality queries, preventing incorrect row returns when executing range operators, ORDER BY clauses, or merge joins.

Key Management and Encryption Workflows

Version 1.7.2 improves reliability across encryption key rotation and storage backend operations. It fixes concurrency issues encountered during rotate_online() calls, resolves key-encryption-key rotation failures in local wallets, and fixes migration routines between Vault backends and local wallets. These adjustments ensure cryptographic operations complete predictably without leaving the encryption layer in an inconsistent state during configuration changes.

Upgrade Requirements and Maintenance Procedures

Deploying version 1.7.2 introduces a revised v4 on-disk format and requires specific operational procedures. If the toast_custom_rmgr option is active, administrators cannot perform rolling upgrades; primary and standby PostgreSQL instances must be updated simultaneously. Additionally, existing encrypted tables require running a VACUUM FULL command following the update. While existing rows written in earlier formats remain readable, failing to rewrite them with VACUUM FULL can result in crashes during subsequent table operations. Detailed migration guidance is published in the extension's roadmap documentation.

AI-generated editorial illustration; not a documentary photograph.

Source: pg_vault_tde v1.7.2 : Critical crash fixes, new on-disk format, and stability improvements

Share this article
FacebookThreadsLinkedInX

Leave a Reply

Your email address will not be published. Required fields are marked *