pglogical_origin

Dummy extension for compatibility when upgrading from Postgres 9.4

Overview

PackageVersionCategoryLicenseLanguage
pglogical2.4.6ETLPostgreSQLC
IDExtensionBinLibLoadCreateTrustRelocSchema
9500pglogicalNoYesYesYesNoNopglogical
9501pglogical_originNoYesNoYesNoNopglogical_origin
Relatedpglogical_ticker pgl_ddl_deploy pg_failover_slots pgactive wal2json decoderbufs repmgr decoder_raw

Version

TypeRepoVersionPG VerPackageDeps
EXTPGDG2.4.61817161514pglogical-
RPMPGDG2.4.61817161514pglogical_$v-
DEBPGDG2.4.61817161514postgresql-$v-pglogical-
OS / PGPG18PG17PG16PG15PG14
el8.x86_64PGDG 2.4.6PGDG 2.4.5PGDG 2.4.4PGDG 2.4.3PGDG 2.4.3
el8.aarch64PGDG 2.4.6PGDG 2.4.5PGDG 2.4.4PGDG 2.4.3PGDG 2.4.3
el9.x86_64PGDG 2.4.6PGDG 2.4.5PGDG 2.4.4PGDG 2.4.3PGDG 2.4.3
el9.aarch64PGDG 2.4.6PGDG 2.4.5PGDG 2.4.4PGDG 2.4.3PGDG 2.4.3
el10.x86_64PGDG 2.4.6PGDG 2.4.5PGDG 2.4.5PGDG 2.4.5PGDG 2.4.5
el10.aarch64PGDG 2.4.6PGDG 2.4.5PGDG 2.4.5PGDG 2.4.5PGDG 2.4.5
d12.x86_64PGDG 2.4.6PGDG 2.4.6PGDG 2.4.6PGDG 2.4.6PGDG 2.4.6
d12.aarch64PGDG 2.4.6PGDG 2.4.6PGDG 2.4.6PGDG 2.4.6PGDG 2.4.6
d13.x86_64PGDG 2.4.6PGDG 2.4.6PGDG 2.4.6PGDG 2.4.6PGDG 2.4.6
d13.aarch64PGDG 2.4.6PGDG 2.4.6PGDG 2.4.6PGDG 2.4.6PGDG 2.4.6
u22.x86_64PGDG 2.4.6PGDG 2.4.6PGDG 2.4.6PGDG 2.4.6PGDG 2.4.6
u22.aarch64PGDG 2.4.6PGDG 2.4.6PGDG 2.4.6PGDG 2.4.6PGDG 2.4.6
u24.x86_64PGDG 2.4.6PGDG 2.4.6PGDG 2.4.6PGDG 2.4.6PGDG 2.4.6
u24.aarch64PGDG 2.4.6PGDG 2.4.6PGDG 2.4.6PGDG 2.4.6PGDG 2.4.6

Install

You can install pglogical directly. First, make sure the PGDG repository is added and enabled:

pig repo add pgdg -u          # Add PGDG repo and update cache

Install the extension using pig or apt/yum/dnf:

pig install pglogical;          # Install for current active PG version
pig ext install -y pglogical -v 18  # PG 18
pig ext install -y pglogical -v 17  # PG 17
pig ext install -y pglogical -v 16  # PG 16
pig ext install -y pglogical -v 15  # PG 15
pig ext install -y pglogical -v 14  # PG 14
dnf install -y pglogical_18       # PG 18
dnf install -y pglogical_17       # PG 17
dnf install -y pglogical_16       # PG 16
dnf install -y pglogical_15       # PG 15
dnf install -y pglogical_14       # PG 14
apt install -y postgresql-18-pglogical   # PG 18
apt install -y postgresql-17-pglogical   # PG 17
apt install -y postgresql-16-pglogical   # PG 16
apt install -y postgresql-15-pglogical   # PG 15
apt install -y postgresql-14-pglogical   # PG 14

Create Extension:

CREATE EXTENSION pglogical_origin;

Usage

pglogical_origin: Dummy extension for compatibility when upgrading from Postgres 9.4

The pglogical_origin extension is a compatibility shim provided alongside pglogical. It exists solely to facilitate upgrades from PostgreSQL 9.4, where replication origin tracking was handled by the pglogical extension itself rather than by PostgreSQL core.

Enabling

CREATE EXTENSION pglogical_origin;

Overview

Starting with PostgreSQL 9.5, replication origin tracking became a built-in PostgreSQL feature (pg_replication_origin). The pglogical_origin extension is a dummy/empty extension that:

  • Prevents errors when upgrading databases that previously depended on it
  • Provides a smooth migration path from pglogical on PostgreSQL 9.4 to newer versions
  • Contains no actual functionality – all origin tracking is handled by PostgreSQL core

When to Use

This extension is only needed when:

  • Upgrading a database from PostgreSQL 9.4 that used pglogical
  • The database has existing references to the pglogical_origin extension

For new installations, this extension is not required. Use pglogical directly, which leverages PostgreSQL’s built-in replication origin support.


Last Modified 2026-03-12: add pg extension catalog (95749bf)