pgsql: Remove unstable test suite added by 525392d57

From: Amit Langote <amitlan(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Remove unstable test suite added by 525392d57
Date: 2025-02-22 06:21:04
Message-ID: E1tlisq-0005nM-1g@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Remove unstable test suite added by 525392d57

The 'cached-plan-inval' test suite, introduced in 525392d57 under
src/test/modules/delay_execution, aimed to verify that cached plan
invalidation triggers replanning after deferred locks are taken.
However, its ExecutorStart_hook-based approach relies on lock timing
assumptions that, in retrospect, are fragile. This instability was
exposed by failures on BF animal trilobite, which builds with
CLOBBER_CACHE_ALWAYS.

One option was to dynamically disable the cache behavior that causes
the test suite to fail by setting "debug_discard_caches = 0", but it
seems better to remove the suite. The risk of future failures due to
other cache flush hazards outweighs the benefit of catching real
breakage in the backend behavior it tests.

Reported-by: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Discussion: https://postgr.es/m/2990641.1740117879@sss.pgh.pa.us

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/4f1b6e5bb4fe9bc74395d30d689b28e9cda654a5

Modified Files
--------------
src/test/modules/delay_execution/Makefile | 3 +-
src/test/modules/delay_execution/delay_execution.c | 66 +-----
.../delay_execution/expected/cached-plan-inval.out | 250 ---------------------
src/test/modules/delay_execution/meson.build | 1 -
.../delay_execution/specs/cached-plan-inval.spec | 86 -------
5 files changed, 7 insertions(+), 399 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Álvaro Herrera 2025-02-22 09:06:07 pgsql: Change \conninfo to use tabular format
Previous Message Tom Lane 2025-02-22 03:11:06 Re: pgsql: Trial fix for old cross-version upgrades.