postgres.git / summary / log / commit / refs

commit    828e93a6f2dbf4bc7a24bc3ce166c34879eeb8b1
Author:   Thomas Munro <tmunro@postgresql.org>
Date:     Tue Apr 25 22:39:46 2023 +0000
First released in: 16.0

    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


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 [parent: 84cc1426745b]