1
0
mirror of https://github.com/postgres/postgres.git synced 2025-10-15 05:46:52 +03:00

Don't include execnodes.h in brin.h or gin.h

These headers don't need execnodes.h for anything.  I think they never
have.

Discussion: https://postgr.es/m/202510021240.ptc2zl5cvwen@alvherre.pgsql
This commit is contained in:
Álvaro Herrera
2025-10-05 17:35:25 +02:00
parent 03d40e4b52
commit 1b6f61bd89
4 changed files with 6 additions and 3 deletions

View File

@@ -126,6 +126,7 @@
#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"

View 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"

View 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"

View 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"