Add some additional tests for row filters in logical replication.
authorAmit Kapila <akapila@postgresql.org>
Fri, 4 Mar 2022 02:24:12 +0000 (07:54 +0530)
committerAmit Kapila <akapila@postgresql.org>
Fri, 4 Mar 2022 02:24:12 +0000 (07:54 +0530)
commitceb57afd3ce177e897cb4c5b44aa683fc0036782
tree73fd20b6a0505d38abc855fdec906093dd5aa1f3
parentf7ea240aa7491b6ed2985bb50888bd432f3341df
Add some additional tests for row filters in logical replication.

Commit 52e4f0cd47 didn't add tests for pg_dump support, so add a few tests
for it. Additionally, verify that catalogs are updated after few
ALTER PUBLICATION commands that modify row filters by using \d.

Reported-by: Tomas Vondra
Author: Shi yu, based on initial by Tomas Vondra
Reviewed-by: Euler Taveira and Amit Kapila
Discussion: https://postgr.es/m/6bdbd7fc-e81a-9a77-d963-24adeb95f29e@enterprisedb.com
src/bin/pg_dump/t/002_pg_dump.pl
src/test/regress/expected/publication.out
src/test/regress/sql/publication.sql