diff --git a/src/include/access/relscan.h b/src/include/access/relscan.h
index 46446f30cfedd18da0900b56876826e9a200b503..cbe7b0c2442c2227e5ef8f1d7662c8df61dc4af2 100644
--- a/src/include/access/relscan.h
+++ b/src/include/access/relscan.h
@@ -7,7 +7,7 @@
  * Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group
  * Portions Copyright (c) 1994, Regents of the University of California
  *
- * $PostgreSQL: pgsql/src/include/access/relscan.h,v 1.47 2006/07/13 17:47:01 momjian Exp $
+ * $PostgreSQL: pgsql/src/include/access/relscan.h,v 1.48 2006/07/13 18:01:01 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -16,7 +16,6 @@
 
 #include "access/skey.h"
 #include "storage/bufpage.h"
-#include "utils/rel.h"
 #include "utils/tqual.h"
 
 
diff --git a/src/include/commands/vacuum.h b/src/include/commands/vacuum.h
index ff68d68f83d6042af4b1e1fcc85ba7e05dad9b29..fed481971d2bbbe94dd5212ef15ff262ac83df70 100644
--- a/src/include/commands/vacuum.h
+++ b/src/include/commands/vacuum.h
@@ -7,7 +7,7 @@
  * Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group
  * Portions Copyright (c) 1994, Regents of the University of California
  *
- * $PostgreSQL: pgsql/src/include/commands/vacuum.h,v 1.66 2006/07/13 17:47:01 momjian Exp $
+ * $PostgreSQL: pgsql/src/include/commands/vacuum.h,v 1.67 2006/07/13 18:01:02 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -15,8 +15,6 @@
 #define VACUUM_H
 
 #include "access/htup.h"
-#include "access/tupdesc.h"
-#include "catalog/pg_attribute.h"
 #include "catalog/pg_statistic.h"
 #include "catalog/pg_type.h"
 #include "nodes/parsenodes.h"
diff --git a/src/include/executor/hashjoin.h b/src/include/executor/hashjoin.h
index a225056a0b52bc595418b578288bfc44e86e91a0..956449e0ab62a3cd30969e70579a4603a679f3a7 100644
--- a/src/include/executor/hashjoin.h
+++ b/src/include/executor/hashjoin.h
@@ -7,14 +7,13 @@
  * Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group
  * Portions Copyright (c) 1994, Regents of the University of California
  *
- * $PostgreSQL: pgsql/src/include/executor/hashjoin.h,v 1.40 2006/07/13 17:47:02 momjian Exp $
+ * $PostgreSQL: pgsql/src/include/executor/hashjoin.h,v 1.41 2006/07/13 18:01:02 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
 #ifndef HASHJOIN_H
 #define HASHJOIN_H
 
-#include "access/htup.h"
 #include "fmgr.h"
 #include "storage/buffile.h"
 
diff --git a/src/include/tcop/tcopprot.h b/src/include/tcop/tcopprot.h
index 4509d8f7f1808cda3cec83850500c8fb83ef9522..fd87d87adba30c0e3918c0f69ac236d8db298203 100644
--- a/src/include/tcop/tcopprot.h
+++ b/src/include/tcop/tcopprot.h
@@ -7,7 +7,7 @@
  * Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group
  * Portions Copyright (c) 1994, Regents of the University of California
  *
- * $PostgreSQL: pgsql/src/include/tcop/tcopprot.h,v 1.81 2006/03/14 22:48:23 tgl Exp $
+ * $PostgreSQL: pgsql/src/include/tcop/tcopprot.h,v 1.82 2006/07/13 18:01:02 momjian Exp $
  *
  * OLD COMMENTS
  *	  This file was created so that other c files could get the two
@@ -20,8 +20,6 @@
 #define TCOPPROT_H
 
 #include "executor/execdesc.h"
-#include "nodes/params.h"
-#include "tcop/dest.h"
 #include "utils/guc.h"
 
 
diff --git a/src/include/utils/catcache.h b/src/include/utils/catcache.h
index c8cffa902646e7f6ceae63289d6b0717f15b689e..6c1ad164e331bb145f8b259a16feb223cc872bca 100644
--- a/src/include/utils/catcache.h
+++ b/src/include/utils/catcache.h
@@ -13,7 +13,7 @@
  * Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group
  * Portions Copyright (c) 1994, Regents of the University of California
  *
- * $PostgreSQL: pgsql/src/include/utils/catcache.h,v 1.60 2006/07/13 17:47:02 momjian Exp $
+ * $PostgreSQL: pgsql/src/include/utils/catcache.h,v 1.61 2006/07/13 18:01:02 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -22,7 +22,6 @@
 
 #include "access/htup.h"
 #include "access/skey.h"
-#include "access/tupdesc.h"
 #include "lib/dllist.h"
 #include "utils/rel.h"
 
diff --git a/src/include/utils/guc.h b/src/include/utils/guc.h
index 182a762cc029b8e59714a26fa982c22effcbb07a..2024a05d18253fae92ae980113da51a8173c9a00 100644
--- a/src/include/utils/guc.h
+++ b/src/include/utils/guc.h
@@ -7,13 +7,12 @@
  * Copyright (c) 2000-2006, PostgreSQL Global Development Group
  * Written by Peter Eisentraut <peter_e@gmx.net>.
  *
- * $PostgreSQL: pgsql/src/include/utils/guc.h,v 1.68 2006/05/11 19:15:35 tgl Exp $
+ * $PostgreSQL: pgsql/src/include/utils/guc.h,v 1.69 2006/07/13 18:01:02 momjian Exp $
  *--------------------------------------------------------------------
  */
 #ifndef GUC_H
 #define GUC_H
 
-#include "nodes/pg_list.h"
 #include "tcop/dest.h"
 #include "utils/array.h"
 
diff --git a/src/include/utils/portal.h b/src/include/utils/portal.h
index 64079fa9c1f078f41aa676c98af9f801e412c089..059948f2aecd56435873f312becd3cb2addd882d 100644
--- a/src/include/utils/portal.h
+++ b/src/include/utils/portal.h
@@ -39,7 +39,7 @@
  * Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group
  * Portions Copyright (c) 1994, Regents of the University of California
  *
- * $PostgreSQL: pgsql/src/include/utils/portal.h,v 1.62 2006/07/13 16:49:20 momjian Exp $
+ * $PostgreSQL: pgsql/src/include/utils/portal.h,v 1.63 2006/07/13 18:01:02 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -47,10 +47,8 @@
 #define PORTAL_H
 
 #include "executor/execdesc.h"
-#include "nodes/memnodes.h"
 #include "utils/resowner.h"
 #include "utils/timestamp.h"
-#include "utils/tuplestore.h"
 
 /*
  * We have several execution strategies for Portals, depending on what
diff --git a/src/include/utils/resowner.h b/src/include/utils/resowner.h
index 9c8b91670b1fe341b7176507e50a16d30dec90a0..83e17e4184a271830ac48afabf5312de0c16bf53 100644
--- a/src/include/utils/resowner.h
+++ b/src/include/utils/resowner.h
@@ -12,17 +12,15 @@
  * Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group
  * Portions Copyright (c) 1994, Regents of the University of California
  *
- * $PostgreSQL: pgsql/src/include/utils/resowner.h,v 1.7 2006/06/16 18:42:23 tgl Exp $
+ * $PostgreSQL: pgsql/src/include/utils/resowner.h,v 1.8 2006/07/13 18:01:02 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
 #ifndef RESOWNER_H
 #define RESOWNER_H
 
-#include "access/tupdesc.h"
 #include "storage/buf.h"
 #include "utils/catcache.h"
-#include "utils/rel.h"
 
 
 /*
diff --git a/src/include/utils/syscache.h b/src/include/utils/syscache.h
index 89e049a72bc73e687de95feab46a0f0bd531c57c..5c84c7e17cac5b2f69934c5829dd618afd1550ad 100644
--- a/src/include/utils/syscache.h
+++ b/src/include/utils/syscache.h
@@ -9,14 +9,13 @@
  * Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group
  * Portions Copyright (c) 1994, Regents of the University of California
  *
- * $PostgreSQL: pgsql/src/include/utils/syscache.h,v 1.64 2006/07/11 13:54:24 momjian Exp $
+ * $PostgreSQL: pgsql/src/include/utils/syscache.h,v 1.65 2006/07/13 18:01:02 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
 #ifndef SYSCACHE_H
 #define SYSCACHE_H
 
-#include "access/htup.h"
 #include "utils/catcache.h"
 
 /*