From 828e93a6f2dbf4bc7a24bc3ce166c34879eeb8b1 Mon Sep 17 00:00:00 2001 From: Thomas Munro Date: Wed, 26 Apr 2023 10:39:46 +1200 Subject: [PATCH] Remove bogus #include added by d4e71df6d75. The recently added inclusion of guc.h in smgr.h is not necessary and introduces more server-related stuff. Removing the directive helps avoid potential issues with including sgmr.h in frontends. Author: Kyotaro Horiguchi Discussion: https://postgr.es/m/20230425.115748.2130383825066921512.horikyota.ntt%40gmail.com --- src/include/storage/smgr.h | 1 - 1 file changed, 1 deletion(-) diff --git a/src/include/storage/smgr.h b/src/include/storage/smgr.h index 17fba6f91af..a9a179aabac 100644 --- a/src/include/storage/smgr.h +++ b/src/include/storage/smgr.h @@ -17,7 +17,6 @@ #include "lib/ilist.h" #include "storage/block.h" #include "storage/relfilelocator.h" -#include "utils/guc.h" /* * smgr.c maintains a table of SMgrRelation objects, which are essentially -- 2.39.5