跳转到主要内容

pglogical_origin

Dummy extension for compatibility when upgrading from Postgres 9.4

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.7 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 spock pgactive pgoutput mimeo wal2json test_decoding postgres_fdw pgl_ddl_deploy logical_ddl
Siblings pglogical
Latest PGDG DEB/catalog version is 2.4.7; PGDG RPM and Pigsty source remain on 2.4.6.

Packages

Type Repo Version PG Major Compatibility Package Pattern Dependencies
EXT PGDG 2.4.7 18 17 16 15 14 pglogical -
RPM PGDG 2.4.6 18 17 16 15 14 pglogical_$v -
DEB PGDG 2.4.7 18 17 16 15 14 postgresql-$v-pglogical -
Linux / PG PG18 PG17 PG16 PG15 PG14
el8.x86_64 PGDG 2.4.8 PGDG 2.4.8 PGDG 2.4.8 PGDG 2.4.8 PGDG 2.4.8
el8.aarch64 PGDG 2.4.8 PGDG 2.4.8 PGDG 2.4.8 PGDG 2.4.8 PGDG 2.4.8
el9.x86_64 PGDG 2.4.8 PGDG 2.4.8 PGDG 2.4.8 PGDG 2.4.8 PGDG 2.4.8
el9.aarch64 PGDG 2.4.8 PGDG 2.4.8 PGDG 2.4.8 PGDG 2.4.8 PGDG 2.4.8
el10.x86_64 PGDG 2.4.8 PGDG 2.4.8 PGDG 2.4.8 PGDG 2.4.8 PGDG 2.4.8
el10.aarch64 PGDG 2.4.8 PGDG 2.4.8 PGDG 2.4.8 PGDG 2.4.8 PGDG 2.4.8
d12.x86_64 PGDG 2.4.8 PGDG 2.4.8 PGDG 2.4.8 PGDG 2.4.8 PGDG 2.4.8
d12.aarch64 PGDG 2.4.8 PGDG 2.4.8 PGDG 2.4.8 PGDG 2.4.8 PGDG 2.4.8
d13.x86_64 PGDG 2.4.8 PGDG 2.4.8 PGDG 2.4.8 PGDG 2.4.8 PGDG 2.4.8
d13.aarch64 PGDG 2.4.8 PGDG 2.4.8 PGDG 2.4.8 PGDG 2.4.8 PGDG 2.4.8
u22.x86_64 PGDG 2.4.8 PGDG 2.4.8 PGDG 2.4.8 PGDG 2.4.8 PGDG 2.4.8
u22.aarch64 PGDG 2.4.8 PGDG 2.4.8 PGDG 2.4.8 PGDG 2.4.8 PGDG 2.4.8
u24.x86_64 PGDG 2.4.8 PGDG 2.4.8 PGDG 2.4.8 PGDG 2.4.8 PGDG 2.4.8
u24.aarch64 PGDG 2.4.8 PGDG 2.4.8 PGDG 2.4.8 PGDG 2.4.8 PGDG 2.4.8
u26.x86_64 PGDG 2.4.8 PGDG 2.4.8 PGDG 2.4.8 PGDG 2.4.8 PGDG 2.4.8
u26.aarch64 PGDG 2.4.8 PGDG 2.4.8 PGDG 2.4.8 PGDG 2.4.8 PGDG 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 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.