pgsql: Fix crash in test function on removable_cutoff(NULL)

From: Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix crash in test function on removable_cutoff(NULL)
Date: 2026-01-16 13:13:36
Message-ID: E1vgjdv-000o7l-26@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix crash in test function on removable_cutoff(NULL)

The function is part of the injection_points test module and only used
in tests. None of the current tests call it with a NULL argument, but
it is supposed to work.

Backpatch-through: 17

Branch
------
REL_17_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/6ad01b1152643763e485425f84d03a6777d8ba15

Modified Files
--------------
src/test/modules/injection_points/regress_injection.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2026-01-16 16:30:10 pgsql: Fix PL/Python build on MSVC with older Meson
Previous Message Heikki Linnakangas 2026-01-16 12:40:26 pgsql: Fix rare test failure in nbtree_half_dead_pages