summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Munro <tmunro@postgresql.org>2023-04-26 10:39:46 +1200
committerThomas Munro <tmunro@postgresql.org>2023-04-26 10:43:53 +1200
commit828e93a6f2dbf4bc7a24bc3ce166c34879eeb8b1 (patch)
tree8cfdf2bb63c8e9d14560f5223c503fe2d83bd37d
parent84cc1426745b4bc91242caec9173a2ca19a4af79 (diff)
downloadpostgresql-828e93a6f2dbf4bc7a24bc3ce166c34879eeb8b1.tar.gz
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 <horikyota.ntt@gmail.com> Discussion: https://postgr.es/m/20230425.115748.2130383825066921512.horikyota.ntt%40gmail.com
-rw-r--r--src/include/storage/smgr.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/include/storage/smgr.h b/src/include/storage/smgr.h
index 17fba6f91a..a9a179aaba 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