Remove preprocessor guards from injection points
authorDaniel Gustafsson <dgustafsson@postgresql.org>
Thu, 25 Sep 2025 13:27:33 +0000 (15:27 +0200)
committerDaniel Gustafsson <dgustafsson@postgresql.org>
Thu, 25 Sep 2025 13:27:33 +0000 (15:27 +0200)
commit0b3ce7878af757b8c91721ccecbbb75c10a22ef4
treebd7374f336dafdc4a85ad2047d4692ab7dbac1f4
parentd8f07dbb81a169ff8d54c6684c0ca385b83de757
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 <kuroda.hayato@fujitsu.com>
Reviewed-by: Michael Paquier <michael@paquier.xyz>
Reviewed-by: Daniel Gustafsson <daniel@yesql.se>
Discussion: https://postgr.es/m/OSCPR01MB14966C8015DEB05ABEF2CE077F51FA@OSCPR01MB14966.jpnprd01.prod.outlook.com
Backpatch-through: 17
src/backend/access/transam/xlog.c