pgsql: Fix the logical streaming test.

From: Amit Kapila <akapila(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix the logical streaming test.
Date: 2020-08-08 06:58:48
Message-ID: E1k4Ioa-00008i-Dq@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Alvaro Herrera 2020-08-08 16:42:35 pgsql: walsnd: Don't set waiting_for_ping_response spuriously
Previous Message Amit Kapila 2020-08-08 06:25:49 Re: pgsql: Implement streaming mode in ReorderBuffer.