EDB Postgres Distributed 5.9.0 release notes v5.9.0
Released: 19 August 2025
This is a minor release of PGD 5, which includes several enhancements and bug fixes. This version is also a prerequisite for seamless upgrades to PGD 6.1.0, and it has been updated to include key infrastructure, such as a back-ported Connection Manager, to ensure a smooth transition to the latest major version.
Highlights
- This is the first PGD 5 version to support a direct, in-place upgrade to PGD 6, beginning with PGD 6.1.0
- New Detach Partition function for PGD AutoPartition
- Support EDB Postgres Advanced Server (EPAS) Interval Partitioning
Features
Component | Version | Description | Addresses |
---|---|---|---|
BDR | 5.9.0 | New drop_after_retention_period argument added to the bdr.autopartition functionbdr.autopartition() now takes an additional boolean argument drop_after_retention_period which can be set to false if the user does not want the partition to be dropped, but only detached. |
Enhancements
Component | Version | Description | Addresses |
---|---|---|---|
BDR | 5.9.0 | Improve Raft snapshot export/import to reset Raft completelyWe've made improvements to how our Raft consensus mechanism handles snapshots. This ensures that in the rare event of a data consistency issue, restoring a snapshot will now fully reset the system's state, allowing operations to resume smoothly from a consistent starting point. | |
BDR | 5.9.0 | EPAS Interval Partition Support for PGDA new enhancement allows partitions created by EDB Postgres Advanced Server (EPAS) AutoPartition to work correctly within a multi-node PGD environment. This fix ensures partitions are created consistently on each node and are visible across all nodes. | |
BDR | 5.9.0 | Connection Manager Back-Port for PGD 5.9To streamline the upgrade process, the Connection Manager has been back-ported to PGD 5.9 as an optional feature that's disabled by default. This change allows for seamless upgrades to PGD 6 by having the necessary infrastructure in place. It also gives you the opportunity to test the Connection Manager in non-production environments before a full production upgrade. | |
BDR | 5.9.0 | Enable proxy routing by default for subgroupsSubgroups have proxy routing enabled by default from 5.9.0 however it doesn't impact the existing behavior of subgroups and how to connect to the nodes without proxy. | |
BDR | 5.9.0 | Synchronize roles and tablespaces during logical joinRoles and tablespaces are now synchronized before the schema is restored from the join source node. If there are already existing roles or tablespaces (or EPAS profiles), they will be updated to have the same settings, passwords etc. as the ones from the join source node. System roles (i.e. the ones created by initdb) are not synchronized. | |
BDR | 5.9.0 | Replication of roles to witness nodesRoles are now replicated to witness nodes at node join. Roles also get replicated to witness nodes during normal operation of the cluster. |
Bug Fixes
Component | Version | Description | Addresses |
---|---|---|---|
BDR | 5.9.0 | Fix for PGD node upgrade fails with 'function max(pg_lsn) does not exist'We've resolved a bug that could cause a PGD node upgrade to fail with the error 'function max(pg_lsn) does not exist'. | |
BDR | 5.9.0 | Fix for Subscription Key Errors During Node SyncA fix has been implemented to resolve an issue that caused duplicate key value violates unique constraint "subscription_pkey" errors during node resynchronization. To ensure unique names and prevent manager crashes, subscription names now include the source node name, which provides a more robust and reliable resynchronization process. | |
PGD CLI | 5.9.0 | PGD CLI cluster verify Command Fix for Witness-Only GroupsThe pgd cluster verify command no longer displays a warning for witness-only groups that do not contain data nodes. This resolves an issue where the command incorrectly flagged these groups, ensuring that the verification output is now accurate for all cluster types. | |
BDR | 5.9.0 | Raft Fix for Parting Lagging NodesRaft no longer fails to recover after a heavily-lagging node that was previously a leader is parted from the cluster. This fixes a bug where the Raft leader could crash with a "BDR node XXX not found" error, which previously required a manual, forceful reset of the Raft state. Now, Raft correctly handles this scenario and recovers automatically, ensuring cluster stability. | |
BDR | 5.9.0 | Fix for "Clock Has Moved Backwards" Error with Snowflake SequencesA race condition has been fixed that could cause a "clock has moved backwards" error when using Snowflake sequences, even when the system clock was functioning correctly. This fix ensures the sequence correctly handles concurrent access, preventing this error and improving the reliability of Snowflake sequence generation. | |
BDR | 5.9.0 | Fix for | |
BDR | 5.9.0 | Fix a crash with pg_failover_slotsEnsure that CDC hooks are no-op when recovery is in progress or the backend is not connected to a database. This can definitely happen if |
- On this page
- Highlights
- Features
- Enhancements
- Bug Fixes