pglogical_origin

pglogical_origin

pglogical : Dummy extension for compatibility when upgrading from Postgres 9.4

Overview

ID Extension Package Version Category License Language
9501
pglogical_origin
pglogical
2.4.6
ETL
PostgreSQL
C
Attribute Has Binary Has Library Need Load Has DDL Relocatable Trusted
--s-d--
No
Yes
No
Yes
no
no
Relationships
Schemas pglogical_origin
See Also
pglogical_ticker
pgl_ddl_deploy
pg_failover_slots
pgactive
wal2json
decoderbufs
repmgr
decoder_raw
Siblings
pglogical

Packages

Type Repo Version PG Major Compatibility Package Pattern Dependencies
EXT
PGDG
2.4.6
18
17
16
15
14
pglogical -
RPM
PGDG
2.4.6
18
17
16
15
14
pglogical_$v -
DEB
PGDG
2.4.6
18
17
16
15
14
postgresql-$v-pglogical -
Linux / PG PG18 PG17 PG16 PG15 PG14
el8.x86_64
PGDG 2.4.6
PGDG 2.4.5
PGDG 2.4.4
PGDG 2.4.3
PGDG 2.4.3
el8.aarch64
PGDG 2.4.6
PGDG 2.4.5
PGDG 2.4.4
PGDG 2.4.3
PGDG 2.4.3
el9.x86_64
PGDG 2.4.6
PGDG 2.4.5
PGDG 2.4.4
PGDG 2.4.3
PGDG 2.4.3
el9.aarch64
PGDG 2.4.6
PGDG 2.4.5
PGDG 2.4.4
PGDG 2.4.3
PGDG 2.4.3
el10.x86_64
PGDG 2.4.6
PGDG 2.4.5
PGDG 2.4.5
PGDG 2.4.5
PGDG 2.4.5
el10.aarch64
PGDG 2.4.6
PGDG 2.4.5
PGDG 2.4.5
PGDG 2.4.5
PGDG 2.4.5
d12.x86_64
PGDG 2.4.6
PGDG 2.4.6
PGDG 2.4.6
PGDG 2.4.6
PGDG 2.4.6
d12.aarch64
PGDG 2.4.6
PGDG 2.4.6
PGDG 2.4.6
PGDG 2.4.6
PGDG 2.4.6
d13.x86_64
PGDG 2.4.6
PGDG 2.4.6
PGDG 2.4.6
PGDG 2.4.6
PGDG 2.4.6
d13.aarch64
PGDG 2.4.6
PGDG 2.4.6
PGDG 2.4.6
PGDG 2.4.6
PGDG 2.4.6
u22.x86_64
PGDG 2.4.6
PGDG 2.4.6
PGDG 2.4.6
PGDG 2.4.6
PGDG 2.4.6
u22.aarch64
PGDG 2.4.6
PGDG 2.4.6
PGDG 2.4.6
PGDG 2.4.6
PGDG 2.4.6
u24.x86_64
PGDG 2.4.6
PGDG 2.4.6
PGDG 2.4.6
PGDG 2.4.6
PGDG 2.4.6
u24.aarch64
PGDG 2.4.6
PGDG 2.4.6
PGDG 2.4.6
PGDG 2.4.6
PGDG 2.4.6

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 via package name, for the active PG version
pig install pglogical_origin;		# install by extension name, for the current active PG version

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
pig install pglogical_origin -v 14;   # install for PG 14

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.

Last updated on