Skip to content

pglogical_origin

Dummy extension for compatibility when upgrading from Postgres 9.4

pglogical · Dummy extension for compatibility when upgrading from Postgres 9.4

Overview

IDExtensionPackageVersionCategoryLicenseLanguage
9501pglogical_originpglogical1.0.0ETLPostgreSQLC
AttributeHas BinaryHas LibraryNeed LoadHas DDLRelocatableTrusted
--s-d--NoYesNoYesnono
PGDG companion in pglogical 2.4.8; SQL/control 1.0.0.

Packages

TypeRepoVersionPG Major CompatibilityPackage PatternDependencies
EXTPGDG1.0.019 18 17 16 15pglogical-
RPMPGDG2.4.819 18 17 16 15pglogical_$v-
DEBPGDG2.4.819 18 17 16 15postgresql-$v-pglogical-
Linux / PGPG19PG18PG17PG16PG15
el8.x86_64N/APGDG 2.4.8PGDG 2.4.8PGDG 2.4.8PGDG 2.4.8
el8.aarch64N/APGDG 2.4.8PGDG 2.4.8PGDG 2.4.8PGDG 2.4.8
el9.x86_64PGDG 2.4.8PGDG 2.4.8PGDG 2.4.8PGDG 2.4.8PGDG 2.4.8
el9.aarch64PGDG 2.4.8PGDG 2.4.8PGDG 2.4.8PGDG 2.4.8PGDG 2.4.8
el10.x86_64PGDG 2.4.8PGDG 2.4.8PGDG 2.4.8PGDG 2.4.8PGDG 2.4.8
el10.aarch64PGDG 2.4.8PGDG 2.4.8PGDG 2.4.8PGDG 2.4.8PGDG 2.4.8
d12.x86_64PGDG 2.4.8PGDG 2.4.8PGDG 2.4.8PGDG 2.4.8PGDG 2.4.8
d12.aarch64PGDG 2.4.8PGDG 2.4.8PGDG 2.4.8PGDG 2.4.8PGDG 2.4.8
d13.x86_64PGDG 2.4.8PGDG 2.4.8PGDG 2.4.8PGDG 2.4.8PGDG 2.4.8
d13.aarch64PGDG 2.4.8PGDG 2.4.8PGDG 2.4.8PGDG 2.4.8PGDG 2.4.8
u22.x86_64PGDG 2.4.8PGDG 2.4.8PGDG 2.4.8PGDG 2.4.8PGDG 2.4.8
u22.aarch64PGDG 2.4.8PGDG 2.4.8PGDG 2.4.8PGDG 2.4.8PGDG 2.4.8
u24.x86_64PGDG 2.4.8PGDG 2.4.8PGDG 2.4.8PGDG 2.4.8PGDG 2.4.8
u24.aarch64PGDG 2.4.8PGDG 2.4.8PGDG 2.4.8PGDG 2.4.8PGDG 2.4.8
u26.x86_64PGDG 2.4.8PGDG 2.4.8PGDG 2.4.8PGDG 2.4.8PGDG 2.4.8
u26.aarch64PGDG 2.4.8PGDG 2.4.8PGDG 2.4.8PGDG 2.4.8PGDG 2.4.8

Source

Install

Make sure PGDG repo available:

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

Install this extension with pig:

pig install pglogical;		# install by package name
pig install pglogical_origin;		# install by extension name

pig install pglogical_origin -v 19;   # install for PG 19
pig install pglogical_origin -v 18;   # install for PG 18
pig install pglogical_origin -v 17;   # install for PG 17
pig install pglogical_origin -v 16;   # install for PG 16
pig install pglogical_origin -v 15;   # install for PG 15

Create this extension with:

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.

Table reader