Do a tiny bit of header file maintenance
Álvaro Herrera <alvherre@kurilemu.de>
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
Files
| Path | Change | +/− |
|---|---|---|
| contrib/btree_gist/btree_bit.c | modified | +1 −0 |
| src/backend/nodes/tidbitmap.c | modified | +1 −0 |
| src/backend/utils/adt/network_spgist.c | modified | +1 −0 |
| src/include/access/amapi.h | modified | +2 −0 |
| src/include/access/genam.h | modified | +3 −1 |
| src/include/access/nbtree.h | modified | +1 −0 |
| src/include/nodes/tidbitmap.h | modified | +0 −1 |
Discussion
- allow benign typedef redefinitions (C11) 23 messages · 2025-08-29 → 2025-10-05