Repository navigation
pglogical 2.5.0
pglogical 2.5.0
Version 2.5.0 adds Windows support, conflict history tracking, and pre-built binaries.
Changes
-
Windows support: Native Windows builds via CMake and MSVC. Pre-built MSI installers with automatic PostgreSQL path detection and manual directory selection.
-
Pre-built binaries: Download ready-to-install packages from GitHub Releases for Windows (MSI/ZIP), Linux (tar.gz), and macOS ARM64 (tar.gz). Supports PostgreSQL 15-18.
-
Conflict history table: New
pglogical.conflict_historytable records all detected conflicts with resolution details, enabling post-hoc analysis and debugging. -
Generated columns: Logical replication now handles generated columns correctly.
-
Fix table sync timeout during catchup phase.
Installation
Linux
# Download and extract
tar -xzf pglogical-2.5.0-pg17-linux-x64.tar.gz
cd pglogical-2.5.0-pg17-linux-x64
# Install (uses pg_config to find PostgreSQL directories)
./install.shmacOS
# Download and extract
tar -xzf pglogical-2.5.0-pg17-macos-arm64.tar.gz
cd pglogical-2.5.0-pg17-macos-arm64
# Install
./install.shWindows (MSI Installer)
- Download the MSI for your PostgreSQL version
- Run the installer - it will auto-detect PostgreSQL location or allow manual directory selection
- Or use the ZIP package and copy files manually
Windows (ZIP Package)
- Extract the ZIP to a temporary location
- Copy files from
lib/to your PostgreSQLlibdirectory - Copy files from
share/extension/to your PostgreSQLshare/extensiondirectory
Configuration (postgresql.conf)
wal_level = 'logical'
max_worker_processes = 10
max_replication_slots = 10
max_wal_senders = 10
shared_preload_libraries = 'pglogical'Restart PostgreSQL after changing these settings.
Enable the Extension
CREATE EXTENSION pglogical;Verify Checksums
Download checksums.txt and verify your download:
sha256sum -c checksums.txt --ignore-missingSupported Platforms
- Linux x64 (Ubuntu, Debian, RHEL, CentOS)
- Windows x64 (Windows 10, Windows 11, Windows Server 2019+)
- macOS ARM64 (Apple Silicon)
PostgreSQL Versions
- PostgreSQL 15, 16, 17, 18
Full Changelog: 2ndQuadrant/pglogical@REL2_x_STABLE...willibrandon:pglogical:v2.5.0