pgsql: Fix the test for decoding of two-phase transactions.

From: Amit Kapila <akapila(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix the test for decoding of two-phase transactions.
Date: 2021-01-09 10:23:35
Message-ID: E1kyBPD-0000sj-Em@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix the test for decoding of two-phase transactions.

Commit 5a3574d7b3 added the test for decoding of two-phase transactions
during the build of a consistent snapshot. The test forgot to skip empty
xacts which can lead to decoding of extra empty transactions due to
background activity by autovacuum.

Per report by buildfarm.

Reported-by: Tom Lane
Discussion: https://postgr.es/m/363512.1610171267@sss.pgh.pa.us

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/e33d004900f76c35759293fdedd4861b198fbf5b

Modified Files
--------------
contrib/test_decoding/expected/twophase_snapshot.out | 4 ++--
contrib/test_decoding/specs/twophase_snapshot.spec | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Amit Kapila 2021-01-09 12:40:05 Re: pgsql: Test decoding of two-phase transactions during the build of a co
Previous Message Tom Lane 2021-01-09 07:38:59 Re: pgsql: Test decoding of two-phase transactions during the build of a co