Fix the logical streaming test.
authorAmit Kapila <akapila@postgresql.org>
Sat, 8 Aug 2020 06:43:18 +0000 (12:13 +0530)
committerAmit Kapila <akapila@postgresql.org>
Sat, 8 Aug 2020 06:43:18 +0000 (12:13 +0530)
commit82a0ba7707e010a29f5fe1a0020d963c82b8f1cb
tree12ef64d52f764a3c4f7bc894a1ac6364278f7392
parenta13421c96c0e8ffa34310f92d03d0e6f3bfa27f8
Fix the logical streaming test.

Commit 7259736a6e added the capability to stream changes in ReorderBuffer
which has some tests to test the streaming mode. It is quite possible that
while this test is running a parallel transaction could be logged by
autovacuum. Such a transaction won't perform any insert/update/delete to
non-catalog tables so will be shown as an empty transaction. Fix it by
skipping the empty transactions during this test.

Per report by buildfarm.
contrib/test_decoding/expected/stream.out
contrib/test_decoding/sql/stream.sql