Remove preprocessor guards from injection points
authorDaniel Gustafsson <[email protected]>
Thu, 25 Sep 2025 13:27:33 +0000 (15:27 +0200)
committerDaniel Gustafsson <[email protected]>
Thu, 25 Sep 2025 13:27:33 +0000 (15:27 +0200)
commit53a2246ddf9b1e641654dd0654ff8f24e952920a
tree9db029a47c2910dd6f86dd7c0ed9a06cddfed3f0
parent2e84996b03f55e4f5230658cb28077cf10d36ef1
Remove preprocessor guards from injection points

When defining an injection point there is no need to wrap the definition
with USE_INJECTION_POINT guards, the INJECTION_POINT macro is available
in all builds.  Remove to make the code consistent.

Author: Hayato Kuroda <[email protected]>
Reviewed-by: Michael Paquier <[email protected]>
Reviewed-by: Daniel Gustafsson <[email protected]>
Discussion: https://postgr.es/m/OSCPR01MB14966C8015DEB05ABEF2CE077F51FA@OSCPR01MB14966.jpnprd01.prod.outlook.com
Backpatch-through: 17
src/backend/access/transam/xlog.c