Fix the test for decoding of two-phase transactions.

Amit Kapila <akapila@postgresql.org>

Commit: e33d004900f76c35759293fdedd4861b198fbf5b
Author: Amit Kapila <akapila@postgresql.org>
Date: 2021-01-09T10:15:38Z
Releases: 14.0
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

Files

Discussion

Cited messages not in the archive: 363512.1610171267@sss.pgh.pa.us