pgsql: Fix cache-dependent test failures in logical decoding. - Mailing list pgsql-committers

From Masahiko Sawada
Subject pgsql: Fix cache-dependent test failures in logical decoding.
Date
Msg-id E1uU4KK-0038jT-2m@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Fix cache-dependent test failures in logical decoding.

The regression test added in commit 1230be12f failed with
CLOBBER_CACHE_ALWAYS builds as it depends on cache behavior. This test
failure occurred only on v13 because the original data loss problem
was fixed differently in v13 compared to v14 and later versions,
resulting in different expected-output files.

This commit adds an extra expected-output file to cover both regular
and CLOBBER_CACHE_ALWAYS build cases.

Oversight in 1230be12f.

Per buildfarm member trilobite.

Reported-by: Alexander Lakhin <exclusion@gmail.com>
Reviewed-by: Amit Kapila <amit.kapila16@gmail.com>
Reviewed-by: Hayato Kuroda <kuroda.hayato@fujitsu.com>
Reviewed-by: Michael Paquier <michael@paquier.xyz>
Discussion: https://postgr.es/m/dbf561f7-465e-4086-adfa-733b9b9a34b3@gmail.com

Branch
------
REL_13_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/87819f766f3791da3d01a3718b1d3fb985640ad0

Modified Files
--------------
.../expected/invalidation_distribution_1.out       | 41 ++++++++++++++++++++++
.../specs/invalidation_distribution.spec           | 10 ++++++
2 files changed, 51 insertions(+)


pgsql-committers by date:

Previous
From: Melanie Plageman
Date:
Subject: pgsql: Test that vacuum removes tuples older than OldestXmin
Next
From: Álvaro Herrera
Date:
Subject: pgsql: Make query jumbling also squash PARAM_EXTERN params