February 2020
Intermediate to advanced
734 pages
38h 13m
English
Unlike Slony, Bucardo, or pglogical, native logical replication does not support sequences. We didn't explain how to copy sequences in those recipes, but the functionality is provided. This means if we want to use PostgreSQL native logical replication to upgrade between major versions, we would need to manually dump the most recent sequence values from the origin node and import them in the subscriber.
This isn't too difficult to accomplish manually but should be a consideration before expecting the sequences to automatically reflect the proper values.
Read now
Unlock full access