From: | Daniel Gustafsson <dgustafsson(at)postgresql(dot)org> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Remove preprocessor guards from injection points |
Date: | 2025-09-25 13:29:31 |
Message-ID: | E1v1m2N-0000z3-0D@gemulon.postgresql.org |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
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(dot)hayato(at)fujitsu(dot)com>
Reviewed-by: Michael Paquier <michael(at)paquier(dot)xyz>
Reviewed-by: Daniel Gustafsson <daniel(at)yesql(dot)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(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2025-09-25 15:23:34 | pgsql: Teach doc/src/sgml/Makefile about the new func/*.sgml files. |
Previous Message | Daniel Gustafsson | 2025-09-25 13:29:24 | pgsql: Remove preprocessor guards from injection points |