git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 2d22329) | patch
Handle sequences in preprocess_pubobj_list
2022年3月25日 13:29:56 +0000 (14:29 +0100)
2022年3月25日 13:29:56 +0000 (14:29 +0100)
commit 002c9dd97a0c874fd1693a570383e2dd38cd40d5
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
src/backend/parser/gram.y diff | blob | blame | history
src/test/regress/expected/publication.out diff | blob | blame | history
src/test/regress/sql/publication.sql diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /