Tidy up #ifdef USE_INJECTION_POINTS guards

Heikki Linnakangas <heikki.linnakangas@iki.fi>

Commit: 9480c585df6cdb33c542c4a2cac26a341a54afd4
Author: Heikki Linnakangas <heikki.linnakangas@iki.fi>
Date: 2026-04-07T13:18:31Z
Tidy up #ifdef USE_INJECTION_POINTS guards

Remove unnecessary #ifdef guard around the function prototypes; they
are already inside a larger #ifdef block. Move #include "subsystems.h"
inside the USE_INJECTION_POINTS guard; it's needed for
InjectionPointShmemCallbacks, which is a also inside the guard.

Reported-by: Dagfinn Ilmari Mannsåker <ilmari@ilmari.org>
Discussion: https://www.postgresql.org/message-id/87y0iz2c1v.fsf@wibble.ilmari.org

Files

PathChange+/−
src/backend/utils/misc/injection_point.c modified +1 −3

Discussion