From 2b5a8bc38b3d2386d9728dfd7da5427b3852dfcb Mon Sep 17 00:00:00 2001
From: "Marc G. Fournier" <scrappy@hub.org>
Date: Sun, 20 Oct 1996 06:35:27 +0000
Subject: [PATCH] More include files cleaned up

---
 src/include/access/hash.h     | 8 +++++++-
 src/include/nodes/execnodes.h | 3 ++-
 src/include/storage/bufmgr.h  | 3 ++-
 src/include/storage/bufpage.h | 4 +++-
 src/include/utils/tqual.h     | 4 +---
 5 files changed, 15 insertions(+), 7 deletions(-)

diff --git a/src/include/access/hash.h b/src/include/access/hash.h
index 74abc0dc5c0..d44e8cc7916 100644
--- a/src/include/access/hash.h
+++ b/src/include/access/hash.h
@@ -6,7 +6,7 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: hash.h,v 1.1 1996/08/27 21:50:12 scrappy Exp $
+ * $Id: hash.h,v 1.2 1996/10/20 06:35:01 scrappy Exp $
  *
  * NOTES
  *	modeled after Margo Seltzer's hash implementation for unix. 
@@ -16,7 +16,13 @@
 #ifndef HASH_H
 #define HASH_H
 
+#include "access/htup.h"
 #include "access/itup.h"
+#include "storage/bufpage.h"
+#include "access/sdir.h"
+#include "access/funcindex.h"
+#include "storage/block.h"
+#include "access/relscan.h"
 
 /* 
  * An overflow page is a spare page allocated for storing data whose 
diff --git a/src/include/nodes/execnodes.h b/src/include/nodes/execnodes.h
index db6c1a792e8..e8c08f60fdd 100644
--- a/src/include/nodes/execnodes.h
+++ b/src/include/nodes/execnodes.h
@@ -6,7 +6,7 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: execnodes.h,v 1.2 1996/10/19 06:27:25 scrappy Exp $
+ * $Id: execnodes.h,v 1.3 1996/10/20 06:35:07 scrappy Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -18,6 +18,7 @@
 #include "executor/hashjoin.h"
 #include "nodes/primnodes.h"
 #include "nodes/memnodes.h"
+#include "executor/tuptable.h"
 
 /* ----------------
  *    IndexInfo information
diff --git a/src/include/storage/bufmgr.h b/src/include/storage/bufmgr.h
index 8350076ad62..40a5ecdbb33 100644
--- a/src/include/storage/bufmgr.h
+++ b/src/include/storage/bufmgr.h
@@ -6,7 +6,7 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: bufmgr.h,v 1.2 1996/10/19 06:27:14 scrappy Exp $
+ * $Id: bufmgr.h,v 1.3 1996/10/20 06:35:20 scrappy Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -14,6 +14,7 @@
 #define BUFMGR_H
 
 #include <stdio.h>
+#include "storage/ipc.h"
 
 /*
  * the maximum size of a disk block for any possible installation.
diff --git a/src/include/storage/bufpage.h b/src/include/storage/bufpage.h
index 1a3ed0634f5..9209fdbe8c2 100644
--- a/src/include/storage/bufpage.h
+++ b/src/include/storage/bufpage.h
@@ -6,7 +6,7 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: bufpage.h,v 1.3 1996/10/19 04:03:29 scrappy Exp $
+ * $Id: bufpage.h,v 1.4 1996/10/20 06:35:16 scrappy Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -15,6 +15,8 @@
 
 #include "storage/itemid.h"
 #include "storage/item.h"
+#include "storage/buf.h"
+#include "storage/off.h"
 
 /*
  * a postgres disk page is an abstraction layered on top of a postgres
diff --git a/src/include/utils/tqual.h b/src/include/utils/tqual.h
index a082d757bb9..6e4fb850e85 100644
--- a/src/include/utils/tqual.h
+++ b/src/include/utils/tqual.h
@@ -6,7 +6,7 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: tqual.h,v 1.1 1996/08/28 01:59:28 scrappy Exp $
+ * $Id: tqual.h,v 1.2 1996/10/20 06:35:27 scrappy Exp $
  *
  * NOTE
  *    It may be desirable to allow time qualifications to indicate
@@ -17,9 +17,7 @@
 #ifndef	TQUAL_H
 #define TQUAL_H
 
-#include "postgres.h"
 #include "utils/nabstime.h"
-#include "access/htup.h"
 
 typedef struct TimeQualSpace {
     char	data[12];