pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Remove preprocessor guards from injection points 3+ messages / 1 participants [nested] [flat]
* pgsql: Remove preprocessor guards from injection points @ 2025-09-25 13:28 Daniel Gustafsson <dgustafsson@postgresql.org> 0 siblings, 0 replies; 3+ messages in thread From: Daniel Gustafsson @ 2025-09-25 13:28 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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 Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/0b3ce7878af757b8c91721ccecbbb75c10a22ef4 Modified Files -------------- src/backend/access/transam/xlog.c | 2 -- 1 file changed, 2 deletions(-) ^ permalink raw reply [nested|flat] 3+ messages in thread
* pgsql: Remove preprocessor guards from injection points @ 2025-09-25 13:29 Daniel Gustafsson <dgustafsson@postgresql.org> 0 siblings, 0 replies; 3+ messages in thread From: Daniel Gustafsson @ 2025-09-25 13:29 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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 Branch ------ REL_18_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/efc26d17a7d40e58fa60f7f39dac892eb7f82cbb Modified Files -------------- src/backend/access/transam/xlog.c | 2 -- 1 file changed, 2 deletions(-) ^ permalink raw reply [nested|flat] 3+ messages in thread
* pgsql: Remove preprocessor guards from injection points @ 2025-09-25 13:29 Daniel Gustafsson <dgustafsson@postgresql.org> 0 siblings, 0 replies; 3+ messages in thread From: Daniel Gustafsson @ 2025-09-25 13:29 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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 Branch ------ REL_17_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/53a2246ddf9b1e641654dd0654ff8f24e952920a Modified Files -------------- src/backend/access/transam/xlog.c | 2 -- 1 file changed, 2 deletions(-) ^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2025-09-25 13:29 UTC | newest] Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2025-09-25 13:28 pgsql: Remove preprocessor guards from injection points Daniel Gustafsson <dgustafsson@postgresql.org> 2025-09-25 13:29 pgsql: Remove preprocessor guards from injection points Daniel Gustafsson <dgustafsson@postgresql.org> 2025-09-25 13:29 pgsql: Remove preprocessor guards from injection points Daniel Gustafsson <dgustafsson@postgresql.org>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox