pgsql: Fix the logical streaming test. - Mailing list pgsql-committers

From Amit Kapila
Subject pgsql: Fix the logical streaming test.
Date
Msg-id E1k4Ioa-00008i-Dq@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/82a0ba7707e010a29f5fe1a0020d963c82b8f1cb

Modified Files
--------------
contrib/test_decoding/expected/stream.out | 4 ++--
contrib/test_decoding/sql/stream.sql      | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)


pgsql-committers by date:

Previous
From: Amit Kapila
Date:
Subject: Re: pgsql: Implement streaming mode in ReorderBuffer.
Next
From: Alvaro Herrera
Date:
Subject: pgsql: walsnd: Don't set waiting_for_ping_response spuriously