xataio/pgstream
PostgreSQL replication with DDL changes observed · 2026-09-03
Health v2 · maintenance only
88/100
- Activity 100
- Release rhythm 88
- Longevity 62
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: 5
- age_days: 875
- days_rel: 0
- days_push: 0
- n_releases_24m: 68
Adoption not part of the score
1186 stars · 79 forks observed · 2026-09-03
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
pgstream is an open-source change data capture (CDC) tool and Go library that replicates PostgreSQL data, including DDL/schema changes, to targets such as PostgreSQL, Elasticsearch/OpenSearch, webhooks, or Kafka. It also supports initial and on-demand snapshots and column-level value transformations for anonymizing data in flight.
Use cases
- replicate postgres to elasticsearch including schema changes
- stream postgres changes to another database with ddl support
- set up change data capture for postgresql
- anonymize data while replicating postgres
- take an initial snapshot of a postgres database
- sync postgres tables to opensearch
- send postgres change events to webhooks
- replicate postgres to kafka with schema-based partitioning
When to choose
- you need Postgres CDC that also propagates DDL/schema changes, which most CDC tools ignore
- you want to keep Elasticsearch or OpenSearch in sync with Postgres
- you need to mask or anonymize column values during replication
- you want a lightweight, modular pipeline that only requires Postgres and is extensible with custom targets
When to avoid
- your source database is not PostgreSQL
- you need a fully managed replication service with a GUI
- you only need simple one-off backups rather than change streaming
- you require targets other than Postgres, Elasticsearch/OpenSearch, webhooks, or Kafka without writing custom code
Facets
cli-tool · maturity active
database etl streaming search-engine webhook cli databases privacy developer-tools go self-hosted cli cdc postgres-replication ddl-replication logical-replication elasticsearch-indexing opensearch data-anonymization snapshots kafka change-data-capture data-engineering search linux macos docker
9 sources
- readme: https://github.com/xataio/pgstream · fetched 2026-09-03 · 76e269b767c3
- homepage: https://xata.io/documentation/opensource/pgstream/overview · fetched 2026-08-29 · de8544212901
- site_page: https://xata.io/docs · fetched 2026-08-29 · de8544212901
- site_page: https://xata.io/docs/api-reference/organizations/get-list-of-organizations · fetched 2026-08-29 · b9262a3bcd1c
- site_page: https://xata.io/docs/cli · fetched 2026-08-29 · 42ef7add959e
- site_page: https://xata.io/docs/quickstart · fetched 2026-08-29 · 5dac8032fa6b
- site_page: https://xata.io/docs/core-concepts/branching · fetched 2026-08-29 · e8da67742544
- site_page: https://xata.io/docs/core-concepts/anonymization · fetched 2026-08-29 · eafd505ee8b4
- site_page: https://xata.io/docs/core-concepts/schema-changes · fetched 2026-08-29 · 0a7eb8f459af
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| xataio/pgstream | main | 88 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem