From d9528604ccb05f545be7ca2bad161877fd3d9c13 Mon Sep 17 00:00:00 2001
From: Robert Haas <rhaas@postgresql.org>
Date: Wed, 8 Mar 2017 08:18:12 -0500
Subject: [PATCH] Remove inclusion of postgres.h from a few header files.

Thomas Munro, per project policy articuled by Andres Freund and
Tom Lane.

Discussion: http://postgr.es/m/CAEepm=2zCoeq3QxVwhS5DFeUh=yU6z81pbWMgfOB8OzyiBwxzw@mail.gmail.com
---
 src/include/access/bufmask.h | 1 -
 src/include/utils/dsa.h      | 2 --
 2 files changed, 3 deletions(-)

diff --git a/src/include/access/bufmask.h b/src/include/access/bufmask.h
index 722dfea8d87..95c6c3ae020 100644
--- a/src/include/access/bufmask.h
+++ b/src/include/access/bufmask.h
@@ -17,7 +17,6 @@
 #ifndef BUFMASK_H
 #define BUFMASK_H
 
-#include "postgres.h"
 #include "storage/block.h"
 #include "storage/bufmgr.h"
 
diff --git a/src/include/utils/dsa.h b/src/include/utils/dsa.h
index c4b122e34c9..f0844434095 100644
--- a/src/include/utils/dsa.h
+++ b/src/include/utils/dsa.h
@@ -14,8 +14,6 @@
 #ifndef DSA_H
 #define DSA_H
 
-#include "postgres.h"
-
 #include "port/atomics.h"
 #include "storage/dsm.h"
 
-- 
GitLab