unstable regress tests modules/injection_points/syscache-update-pruned

From: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
To: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Cc: Michael Paquier <michael(at)paquier(dot)xyz>
Subject: unstable regress tests modules/injection_points/syscache-update-pruned
Date: 2026-03-09 05:53:05
Message-ID: CAFj8pRAzAYPyX+_AuKCeU-3-JRwy_CDvd1jWe4_f=A5Qo==M-g@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi

Itested my older patch for session variables with dedicated system catalog,
and I was surprised so one independent test fails

src/test/modules/injection_points/expected/syscache-update-pruned.out

you can apply attached patch, and run test

# using temp instance on port 58928 with PID 422150
ok 1 - basic 82 ms
ok 2 - inplace 1556 ms
not ok 3 - syscache-update-pruned 719 ms
ok 4 - heap_lock_update 157 ms
1..4
# 1 of 4 tests failed.

pavel(at)nemesis:~/src/postgresql$ cat
/home/pavel/src/postgresql/src/test/modules/injection_points/output_iso/regression.diffs
diff -U3
/home/pavel/src/postgresql/src/test/modules/injection_points/expected/syscache-update-pruned.out
/home/pavel/src/postgresql/src/test/modules/injection_points/output_iso/results/syscache-update-pruned.out
---
/home/pavel/src/postgresql/src/test/modules/injection_points/expected/syscache-update-pruned.out
2026-02-19 05:31:42.352060555 +0100
+++
/home/pavel/src/postgresql/src/test/modules/injection_points/output_iso/results/syscache-update-pruned.out
2026-03-09 06:50:54.521741837 +0100
@@ -75,6 +75,7 @@
SELECT FROM injection_points_wakeup('heap_update-before-pin');
<waiting ...>
step grant1: <... completed>
+ERROR: tuple concurrently deleted
step wakegrant4: <... completed>
step inspect4:
SELECT relhastriggers, relhassubclass FROM pg_class
@@ -82,6 +83,6 @@

relhastriggers|relhassubclass
--------------+--------------
-f |f
+t |t
(1 row)

Regards

Pavel

Attachment Content-Type Size
0001-introduce-new-class-catalog-pg_variable.patch text/x-patch 16.3 KB

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2026-03-09 06:02:08 Re: Fwd: [PATCH] Add zstd compression for TOAST using extended header format
Previous Message Henson Choi 2026-03-09 05:41:12 Re: Accounting for metapages in genericcostestimate()