Fix EXCEPT publication test to check subscriber Commit fd366065e06 added tests intended to verify that rows inserted on the publisher are replicated to the subscriber when using multiple publications, with one excluding the target table via EXCEPT and another including it.
However, the tests queried the publisher instead of the subscriber. Since the rows were inserted directly into the publisher, the checks would always succeed, providing no coverage of replication. Fix this by querying the subscriber so the tests verify the replicated state. Author: Fujii Masao <[email protected]> Reviewed-by: Ayush Tiwari <[email protected]> Reviewed-by: Amit Kapila <[email protected]> Discussion: https://postgr.es/m/cahgqgwgfxuo7f4t6kngurywg6qsnltpp0k3eacbawywtxgf...@mail.gmail.com Backpatch-through: 19 Branch ------ REL_19_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/72207b17daa328d83b1609b4bc5cc4047fe4ba01 Modified Files -------------- src/test/subscription/t/037_except.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
