pgsql: Do a tiny bit of header file maintenance

From: Álvaro Herrera <alvherre(at)kurilemu(dot)de>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Do a tiny bit of header file maintenance
Date: 2025-09-30 10:29:15
Message-ID: E1v3Xbf-000lUc-0L@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(at)sss(dot)pgh(dot)pa(dot)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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2025-09-30 10:37:22 pgsql: Make some use of anonymous unions [plpython]
Previous Message Michael Paquier 2025-09-30 00:39:45 pgsql: Reorder XLogNeedsFlush() checks to be more consistent