2ndQuadrant/pglogical
Logical Replication extension for PostgreSQL 17, 16, 15, 14, 13, 12, 11, 10, 9.6, 9.5, 9.4 (Postgres), providing much faster replication than Slony, Bucardo or Londiste, as well as cross-version upgrades. observed · 2026-08-28
Health v2 · maintenance only
84/100
- Activity 94
- Release rhythm 63
- Longevity 100
Flags: no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 281
- age_days: 3767
- days_rel: 36
- days_push: 36
- n_releases_24m: 4
Adoption not part of the score
1238 stars · 177 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
pglogical is a PostgreSQL extension providing logical streaming replication using a publish/subscribe model, written in C. It supports selective table/row/column replication, multi-origin merging with conflict resolution, cascading replication, and cross-major-version upgrades, and is maintained by EDB (with deprecation planned after v18).
Use cases
- replicate a postgres database to another server with low lag
- upgrade postgres across major versions with zero downtime
- replicate only selected tables or rows to a subscriber
- merge data from multiple upstream postgres servers into one
- set up change data capture from postgres for ETL pipelines
- fan out one provider database to many subscribers
When to choose
- you need faster, more flexible replication than Slony, Bucardo, or Londiste
- you want selective replication of tables, rows, or columns via replication sets
- you need cross-version PostgreSQL upgrades with minimal downtime
- you must merge changes from several origins with conflict resolution
When to avoid
- you need full multi-master clustering - use EDB Postgres Distributed (PGD) instead
- you are on PostgreSQL 10+ and only need basic replication - built-in logical replication may suffice
- you require long-term support - pglogical 2 is deprecated after v18
- provider and subscriber schemas, columns, or primary keys cannot be kept identical
Facets
library · maturity maintenance
database etl streaming databases cross-platform postgresql-extension logical-replication cdc publish-subscribe zero-downtime-upgrade replication-sets data-engineering devops linux postgresql
10 sources
- readme: https://github.com/2ndQuadrant/pglogical · fetched 2026-08-28 · 0b5ca119d2be
- homepage: https://www.enterprisedb.com/docs/supported-open-source/pglogical2/ · fetched 2026-08-29 · eabd05da56f6
- site_page: https://www.enterprisedb.com/docs · fetched 2026-08-29 · 54cea3049dfa
- site_page: https://www.enterprisedb.com/docs/edb-postgres-ai · fetched 2026-08-29 · 7c18c39cc8bc
- site_page: https://www.enterprisedb.com/docs/edb-postgres-ai/platforms-and-tools · fetched 2026-08-29 · 32229978ffc5
- site_page: https://www.enterprisedb.com/docs/edb-postgres-ai/platforms-and-tools/high-availability · fetched 2026-08-29 · 8ec6514d9abe
- site_page: https://www.enterprisedb.com/docs/supported-open-source/pglogical2/release-notes · fetched 2026-08-29 · 572b1d991ed5
- site_page: https://www.enterprisedb.com/docs/supported-open-source/pglogical2/requirements · fetched 2026-08-29 · 59c9184812cb
- site_page: https://www.enterprisedb.com/docs/supported-open-source/pglogical2/installation · fetched 2026-08-29 · 9f377c12981a
- site_page: https://www.enterprisedb.com/docs/supported-open-source/pglogical2/usage · fetched 2026-08-29 · 6d06fb5a1a7c
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| 2ndQuadrant/pglogical | main | 84 |
For agents
markdown · JSON · MCP: product_card(name="2ndQuadrant/pglogical")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem