Logical replication of sequences
Synchronizing sequence values to subscribers (ALL SEQUENCES publications, REFRESH SEQUENCES).
Versions
- PostgreSQL 20 · worked-on · improved · minor
- PostgreSQL 19 · shipped · new · major · 14 commits · +3.7k / -1.1k lines
- PostgreSQL 18 · worked-on · new · major
- PostgreSQL 17 · worked-on · new · major
- PostgreSQL 16 · worked-on · new · major
Threads
- Fix sequence membership command in PG19 release notes
- [PG19] Sequence sync stops when the subscription owner can't SET ROLE to a sequence owner
- Adding a range check on the sequence index from the publisher.
- sequencesync worker race with REFRESH SEQUENCES
- Include sequences in publications created by pg_createsubscriber
- Assertion failure in GetSubscriptionRelations() with concurrent DROP TABLE
- Fix publisher-side sequence permission reporting
- DOCS - clarify CREATE SUBSCRIPTION only synchronizes sequences when copy_data=true
- DOCS - Clarify that REFRESH SEQUENCES might be using stale publication data
- Fix comment in report_sequence_errors()
- [PATCH] Fix stale relation close in sequence synchronization
- [PATCH] Support automatic sequence replication
- Use stack allocated StringInfoDatas, where possible (round 2)
- DOC: pg_publication_rel.prrelid says sequences are possible
- Logical Replication of sequences
- Fix a recent "shadow warning" in subscriptioncmds.c
- Rename sync_error_count to tbl_sync_error_count in subscription statistics
- logical decoding and replication of sequences, take 2
- logical decoding and replication of sequences
- logical replication of identity sequences
- logical decoding and replication of sequences
- Include sequence relation support in logical replication