Handle sequences in preprocess_pubobj_list
Tomas Vondra <tomas.vondra@postgresql.org>
Handle sequences in preprocess_pubobj_list Commit 75b1521dae added support for logical replication of sequences, including grammar changes, but it did not update preprocess_pubobj_list accordingly. This can cause segfaults with "continuations", i.e. when command specifies a list of objects: CREATE PUBLICATION p FOR SEQUENCE s1, s2; Reported by Amit Kapila, patch by me. Reported-by: Amit Kapila Discussion: https://postgr.es/m/CAA4eK1JxDNKGBSNTyN-Xj2JRjzFo+ziSqJbjH==vuO0YF_CQrg@mail.gmail.com
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/parser/gram.y | modified | +26 −1 |
| src/test/regress/expected/publication.out | modified | +18 −0 |
| src/test/regress/sql/publication.sql | modified | +16 −0 |
Discussion
- logical decoding and replication of sequences 129 messages · 2021-06-07 → 2022-08-29