Pgstream: Postgres Streaming Logical Replication with Ddl Changes
Posted4 months agoActive4 months ago
github.comTechstory
supportivepositive
Debate
10/100
PostgresReplicationDatabase Management
Key topics
Postgres
Replication
Database Management
Pgstream, an open-source tool for Postgres logical replication with DDL changes, was shared on HN, sparking discussion about its features and potential applications.
Snapshot generated from the HN discussion
Discussion Activity
Light discussionFirst comment
4h
Peak period
2
2-4h
Avg / period
2
Key moments
- 01Story posted
Sep 15, 2025 at 8:28 AM EDT
4 months ago
Step 01 - 02First comment
Sep 15, 2025 at 12:03 PM EDT
4h after posting
Step 02 - 03Peak activity
2 comments in 2-4h
Hottest window of the conversation
Step 03 - 04Latest activity
Sep 16, 2025 at 3:55 AM EDT
4 months ago
Step 04
Generating AI Summary...
Analyzing up to 500 comments to identify key contributors and discussion patterns
ID: 45248868Type: storyLast synced: 11/20/2025, 3:41:08 PM
Want the full context?
Jump to the original sources
Read the primary article or dive into the live Hacker News thread when you're ready.
This looks great by comparison from what I remember though.
Besides DDL changes, pgstream can also do on-the-fly data anonymization and data masking. It can stream to other stores, like Elasticsearch, but the current main focus is on PG to PG replication with DDL changes and anonymization.
We've been using it in Xata to power our `xata clone` functionality, which creates a "staging replica" on the Xata platform, with anonymized data that closely resembles production. Then one gets fast copy-on-write branching from this anonymized staging replica. This is great for creating dev branches and ephemeral environments.