From d0e7e04ede165abc95ca16bd9fa93284cc4dac6d Mon Sep 17 00:00:00 2001 From: Álvaro Herrera Date: Thu, 14 Aug 2025 17:48:46 +0200 Subject: Avoid including tableam.h and xlogreader.h in nbtree.h MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Doing that seems rather random and unnecessary. This commit removes those and fixes fallout, which is pretty minimal. We do need to add a forward declaration of struct TM_IndexDeleteOp (whose full definition appears in tableam.h) so that _bt_delitems_delete_check()'s declaration can use it. Author: Álvaro Herrera Reviewed-by: Bertrand Drouvot Discussion: https://postgr.es/m/202508051109.lzk3lcuzsaxo@alvherre.pgsql --- contrib/btree_gist/btree_bool.c | 1 + 1 file changed, 1 insertion(+) (limited to 'contrib/btree_gist/btree_bool.c') diff --git a/contrib/btree_gist/btree_bool.c b/contrib/btree_gist/btree_bool.c index 1127597bb60..344f059c78f 100644 --- a/contrib/btree_gist/btree_bool.c +++ b/contrib/btree_gist/btree_bool.c @@ -5,6 +5,7 @@ #include "btree_gist.h" #include "btree_utils_num.h" +#include "utils/rel.h" #include "utils/sortsupport.h" typedef struct boolkey -- cgit v1.2.3