From f292187f375738ee8e921ab6bd3fa011e2cc2813 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Tue, 15 Sep 2026 11:06:49 +0200 Subject: [PATCH] Fix indirect include Commit 0ee83dd4a99 added a call of assign_record_type_typmod() in postgres_fdw.c, but relied on utils/typcache.h being included via nodes/execnodes.h. That was put there as part of the FOR PORTION OF feature, and if that were to change, there would be a possible unrelated compilation failure. To fix, add the required include directly. --- contrib/postgres_fdw/postgres_fdw.c | 1 + 1 file changed, 1 insertion(+) diff --git a/contrib/postgres_fdw/postgres_fdw.c b/contrib/postgres_fdw/postgres_fdw.c index eceee1b649d..d890bc02b77 100644 --- a/contrib/postgres_fdw/postgres_fdw.c +++ b/contrib/postgres_fdw/postgres_fdw.c @@ -55,6 +55,7 @@ #include "utils/sampling.h" #include "utils/selfuncs.h" #include "utils/timestamp.h" +#include "utils/typcache.h" PG_MODULE_MAGIC_EXT( .name = "postgres_fdw",