Snapshot and Stream From a Read Replica
PR #1049, by @tsg. Running pgstream against a physical streaming replica keeps the load — and the long-running transaction a snapshot holds — off the primary. This release adds integration test coverage for that setup and a guide covering what it requires: PostgreSQL 16 or later,wal_level = logical on both the primary and the replica (the replica does not inherit it), hot_standby_feedback = on, the wal2json plugin installed on the replica’s host, and a single-instance endpoint rather than a load-balanced reader.
See Running pgstream from a read replica for the full setup.
Bug Fixes
Upgrade
No configuration changes are required. Replace the binary and restart pgstream.Support
- Issues: https://github.com/xataio/pgstream/issues
- Documentation: https://github.com/xataio/pgstream/tree/main/docs
- Discussions: https://github.com/xataio/pgstream/discussions