agora inbox for pgsql-committers@postgresql.org  
help / color / mirror / Atom feed
From: Heikki Linnakangas <heikki.linnakangas@iki.fi>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Tidy up #ifdef USE_INJECTION_POINTS guards
Date: Tue, 07 Apr 2026 13:26:13 +0000
Message-ID: <E1wA6RY-003OsL-0v@gemulon.postgresql.org> (raw)

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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/9480c585df6cdb33c542c4a2cac26a341a54afd4

Modified Files
--------------
src/backend/utils/misc/injection_point.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)



Message-ID: <E1wA6RY-003OsL-0v@gemulon.postgresql.org>
Permalink:  ../E1wA6RY-003OsL-0v@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1wA6RY-003OsL-0v@gemulon.postgresql.org

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: heikki.linnakangas@iki.fi, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Tidy up #ifdef USE_INJECTION_POINTS guards
  In-Reply-To: <E1wA6RY-003OsL-0v@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox