pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Masahiko Sawada <msawada@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Include necessary header files in radixtree.h.
Date: Mon, 09 Dec 2024 21:07:42 +0000
Message-ID: <E1tKkyk-001vn6-6o@gemulon.postgresql.org> (raw)

Include necessary header files in radixtree.h.

When #include'ing radixtree.h with RT_SHMEM, it could happen to raise
compiler errors due to missing some declarations of types and
functions.

This commit also removes the inclusion of postgres.h since it's
against our usual convention.

Backpatch to v17, where radixtree.h was introduced.

Reviewed-by: Heikki Linnakangas, Álvaro Herrera
Discussion: https://postgr.es/m/CAD21AoCU9YH%2Bb9Rr8YRw7UjmB%3D1zh8GKQkWNiuN9mVhMvkyrRg%40mail.gmail.com
Backpatch-through: 17

Branch
------
REL_17_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/a12b0f3a9dc08ed18711fdcd38763cb3f6bc9f69

Modified Files
--------------
src/include/lib/radixtree.h | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)



view thread (2+ messages)  latest in thread

Message-ID: <E1tKkyk-001vn6-6o@gemulon.postgresql.org>
Permalink:  ../E1tKkyk-001vn6-6o@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1tKkyk-001vn6-6o@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: msawada@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Include necessary header files in radixtree.h.
  In-Reply-To: <E1tKkyk-001vn6-6o@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 DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox