Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Remove bogus #include added by d4e71df6d75.
authorThomas Munro <tmunro@postgresql.org>
Tue, 25 Apr 2023 22:39:46 +0000 (10:39 +1200)
committerThomas Munro <tmunro@postgresql.org>
Tue, 25 Apr 2023 22:43:53 +0000 (10:43 +1200)
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 <horikyota.ntt@gmail.com>
Discussion: https://postgr.es/m/20230425.115748.2130383825066921512.horikyota.ntt%40gmail.com

src/include/storage/smgr.h

index 17fba6f91afcfb2bb89c1c7b34e70f4c424a5377..a9a179aabacc488b7bd5d1e9de88c05df3891c3a 100644 (file)
@@ -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