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:46 +0000
Message-ID: <E1tKkyn-001vnh-LL@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
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/724890ffb75c703afc1e0287f5a66b94c2998799

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



view thread (2+ messages)

Message-ID: <E1tKkyn-001vnh-LL@gemulon.postgresql.org>
Permalink:  ../E1tKkyn-001vnh-LL@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1tKkyn-001vnh-LL@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: <E1tKkyn-001vnh-LL@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