From: Amit Kapila <akapila@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix the test for decoding of two-phase transactions.
Date: Sat, 09 Jan 2021 10:23:35 +0000
Message-ID: <E1kyBPD-0000sj-Em@gemulon.postgresql.org> (raw)
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(-)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: akapila@postgresql.org
Subject: Re: pgsql: Fix the test for decoding of two-phase transactions.
In-Reply-To: <E1kyBPD-0000sj-Em@gemulon.postgresql.org>
References: <E1kyBPD-0000sj-Em@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox