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

From: Masahiko Sawada <msawada(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix cache-dependent test failures in logical decoding.
Date: 2025-06-24 14:08:45
Message-ID: E1uU4KK-0038jT-2m@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: 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(at)gmail(dot)com>
Reviewed-by: Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>
Reviewed-by: Hayato Kuroda <kuroda(dot)hayato(at)fujitsu(dot)com>
Reviewed-by: Michael Paquier <michael(at)paquier(dot)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(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Christoph Berg 2025-06-24 14:41:33 Re: pgsql: Introduce pg_shmem_allocations_numa view
Previous Message Melanie Plageman 2025-06-24 13:29:44 pgsql: Test that vacuum removes tuples older than OldestXmin