aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/backend/access/heap/heapam.c34
-rw-r--r--src/backend/access/heap/hio.c7
-rw-r--r--src/backend/access/heap/stats.c12
3 files changed, 49 insertions, 4 deletions
diff --git a/src/backend/access/heap/heapam.c b/src/backend/access/heap/heapam.c
index c4ce2dbb511..25e6693d4ff 100644
--- a/src/backend/access/heap/heapam.c
+++ b/src/backend/access/heap/heapam.c
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/access/heap/heapam.c,v 1.4 1996/10/20 08:31:57 scrappy Exp $
+ * $Header: /cvsroot/pgsql/src/backend/access/heap/heapam.c,v 1.5 1996/10/21 05:59:44 scrappy Exp $
*
*
* INTERFACE ROUTINES
@@ -113,6 +113,38 @@
#include "access/valid.h"
#include "utils/relcache.h"
+#ifndef HAVE_MEMMOVE
+# include "regex/utils.h"
+#else
+# include <string.h>
+#endif
+
+#include <stdio.h>
+#include "storage/ipc.h"
+#include "storage/bufmgr.h"
+
+#include "utils/palloc.h"
+
+#include "access/hio.h"
+
+#include "storage/spin.h"
+#include "utils/hsearch.h"
+#include "storage/shmem.h"
+#include "storage/lock.h"
+#include "storage/lmgr.h"
+
+#include "storage/smgr.h"
+
+#include "catalog/catalog.h"
+
+#include "access/transam.h"
+
+#include "access/xact.h"
+
+#include "utils/inval.h"
+
+#include "utils/memutils.h"
+
static bool ImmediateInvalidation;
/* ----------------------------------------------------------------
diff --git a/src/backend/access/heap/hio.c b/src/backend/access/heap/hio.c
index 03d1c918e29..fd80c0da21d 100644
--- a/src/backend/access/heap/hio.c
+++ b/src/backend/access/heap/hio.c
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
- * $Id: hio.c,v 1.4 1996/10/20 08:31:59 scrappy Exp $
+ * $Id: hio.c,v 1.5 1996/10/21 05:59:46 scrappy Exp $
*
*-------------------------------------------------------------------------
*/
@@ -38,7 +38,6 @@
#include "storage/itemid.h"
#include "storage/item.h"
-#include "storage/buf.h"
#include "storage/off.h"
#include "storage/bufpage.h"
@@ -47,8 +46,12 @@
#include "access/heapam.h"
+#include <stdio.h>
+#include "storage/ipc.h"
#include "storage/bufmgr.h"
+#include "utils/memutils.h"
+
/*
* amputunique - place tuple at tid
* Currently on errors, calls elog. Perhaps should return -1?
diff --git a/src/backend/access/heap/stats.c b/src/backend/access/heap/stats.c
index 1ec4b8bfc9f..f85af5f7d16 100644
--- a/src/backend/access/heap/stats.c
+++ b/src/backend/access/heap/stats.c
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/access/heap/Attic/stats.c,v 1.3 1996/10/20 08:32:01 scrappy Exp $
+ * $Header: /cvsroot/pgsql/src/backend/access/heap/Attic/stats.c,v 1.4 1996/10/21 05:59:49 scrappy Exp $
*
* NOTES
* initam should be moved someplace else.
@@ -47,6 +47,16 @@
#include "utils/mcxt.h"
+#include "utils/palloc.h"
+
+#ifndef HAVE_MEMMOVE
+# include "regex/utils.h"
+#else
+# include <string.h>
+#endif
+
+#include <stdio.h>
+
/* ----------------
* InitHeapAccessStatistics
* ----------------