]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
Don't include execnodes.h in brin.h or gin.h
authorÁlvaro Herrera <alvherre@kurilemu.de>
Sun, 5 Oct 2025 15:35:25 +0000 (17:35 +0200)
committerÁlvaro Herrera <alvherre@kurilemu.de>
Sun, 5 Oct 2025 15:35:25 +0000 (17:35 +0200)
These headers don't need execnodes.h for anything.  I think they never
have.

Discussion: https://postgr.es/m/202510021240.ptc2zl5cvwen@alvherre.pgsql

src/backend/access/brin/brin_bloom.c
src/include/access/brin.h
src/include/access/gin.h
src/include/access/gin_private.h

index 7c3f7d454fc250d72f83d3ce7f2506fe45941fc5..d6da3abc8de13c6a3e9ba0a78782773102b69115 100644 (file)
 #include "catalog/pg_am.h"
 #include "catalog/pg_type.h"
 #include "common/hashfn.h"
+#include "port/pg_bitutils.h"
 #include "utils/fmgrprotos.h"
 #include "utils/rel.h"
 
index 821f1e02806d81559e011aae4eb50fbe6992efb6..91ec498bda0b497bbd21bc177aa28b5c658d2184 100644 (file)
@@ -10,7 +10,8 @@
 #ifndef BRIN_H
 #define BRIN_H
 
-#include "nodes/execnodes.h"
+#include "storage/block.h"
+#include "storage/dsm.h"
 #include "storage/shm_toc.h"
 #include "utils/relcache.h"
 
index 2e1076a04992b37c91c0a703a3517365b5c1081d..13ea91922efc5049b2811150f1cf15b9f24e13f0 100644 (file)
@@ -12,9 +12,9 @@
 
 #include "access/xlogreader.h"
 #include "lib/stringinfo.h"
-#include "nodes/execnodes.h"
-#include "storage/shm_toc.h"
 #include "storage/block.h"
+#include "storage/dsm.h"
+#include "storage/shm_toc.h"
 #include "utils/relcache.h"
 
 
index aee1f70c22eee717c8a831d839f20cb16b52b3fa..9ea303a7c1b34bd0f90ede748a5f590ebe7b3c9a 100644 (file)
@@ -13,6 +13,7 @@
 #include "access/amapi.h"
 #include "access/gin.h"
 #include "access/ginblock.h"
+#include "access/htup_details.h"
 #include "access/itup.h"
 #include "common/int.h"
 #include "catalog/pg_am_d.h"