pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Álvaro Herrera <alvherre@kurilemu.de>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Do a tiny bit of header file maintenance
Date: Tue, 30 Sep 2025 10:29:15 +0000
Message-ID: <E1v3Xbf-000lUc-0L@gemulon.postgresql.org> (raw)

Do a tiny bit of header file maintenance

Stop including utils/relcache.h in access/genam.h, and stop including
htup_details.h in nodes/tidbitmap.h.  Both these files (genam.h and
tidbitmap.h) are widely used in other header files, so it's in our best
interest that they remain as lean as reasonable.

Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: https://postgr.es/m/202509291356.o5t6ny2hoa3q@alvherre.pgsql

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/3bf31dd24314ceea078f1ae9549c1a60c8a186d8

Modified Files
--------------
contrib/btree_gist/btree_bit.c         | 1 +
src/backend/nodes/tidbitmap.c          | 1 +
src/backend/utils/adt/network_spgist.c | 1 +
src/include/access/amapi.h             | 2 ++
src/include/access/genam.h             | 4 +++-
src/include/access/nbtree.h            | 1 +
src/include/nodes/tidbitmap.h          | 1 -
7 files changed, 9 insertions(+), 2 deletions(-)



Message-ID: <E1v3Xbf-000lUc-0L@gemulon.postgresql.org>
Permalink:  ../E1v3Xbf-000lUc-0L@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1v3Xbf-000lUc-0L@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: alvherre@kurilemu.de, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Do a tiny bit of header file maintenance
  In-Reply-To: <E1v3Xbf-000lUc-0L@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