pgsql: Fix crash in test function on removable_cutoff(NULL) - Mailing list pgsql-committers

From Heikki Linnakangas
Subject pgsql: Fix crash in test function on removable_cutoff(NULL)
Date
Msg-id E1vgjdv-000o7j-23@gemulon.postgresql.org
Whole thread Raw
List 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_18_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/9b6714ed9a1ab18af9cbfff8dd0f52cf99a1557e

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


pgsql-committers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: pgsql: Fix rare test failure in nbtree_half_dead_pages
Next
From: Peter Eisentraut
Date:
Subject: pgsql: Fix PL/Python build on MSVC with older Meson