1
0
mirror of https://github.com/postgres/postgres.git synced 2025-08-22 21:53:06 +03:00

Allow include files to compile own their own.

Strip unused include files out unused include files, and add needed
includes to C files.

The next step is to remove unused include files in C files.
This commit is contained in:
Bruce Momjian
2006-07-13 16:49:20 +00:00
parent 70e2e3d8b1
commit a22d76d96a
124 changed files with 259 additions and 190 deletions

View File

@@ -6,7 +6,7 @@
* Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group
* Portions Copyright (c) 1994-5, Regents of the University of California
*
* $PostgreSQL: pgsql/src/include/commands/explain.h,v 1.26 2006/03/05 15:58:55 momjian Exp $
* $PostgreSQL: pgsql/src/include/commands/explain.h,v 1.27 2006/07/13 16:49:19 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -14,8 +14,6 @@
#define EXPLAIN_H
#include "executor/executor.h"
#include "nodes/parsenodes.h"
#include "tcop/dest.h"
extern void ExplainQuery(ExplainStmt *stmt, ParamListInfo params,

View File

@@ -6,7 +6,7 @@
*
* Copyright (c) 2002-2006, PostgreSQL Global Development Group
*
* $PostgreSQL: pgsql/src/include/commands/prepare.h,v 1.20 2006/04/25 14:11:59 momjian Exp $
* $PostgreSQL: pgsql/src/include/commands/prepare.h,v 1.21 2006/07/13 16:49:19 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -14,9 +14,7 @@
#define PREPARE_H
#include "executor/executor.h"
#include "nodes/parsenodes.h"
#include "tcop/dest.h"
#include "utils/timestamp.h"
/*
* The data structure representing a prepared statement

View File

@@ -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/tablecmds.h,v 1.28 2006/06/27 03:43:20 momjian Exp $
* $PostgreSQL: pgsql/src/include/commands/tablecmds.h,v 1.29 2006/07/13 16:49:19 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -16,7 +16,6 @@
#include "nodes/parsenodes.h"
#include "utils/rel.h"
#include "access/tupdesc.h"
extern Oid DefineRelation(CreateStmt *stmt, char relkind);

View File

@@ -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.64 2006/07/10 16:20:51 alvherre Exp $
* $PostgreSQL: pgsql/src/include/commands/vacuum.h,v 1.65 2006/07/13 16:49:19 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -15,12 +15,10 @@
#define VACUUM_H
#include "access/htup.h"
#include "catalog/pg_attribute.h"
#include "catalog/pg_statistic.h"
#include "catalog/pg_type.h"
#include "nodes/parsenodes.h"
#include "utils/rel.h"
#include "storage/lock.h"
/*----------
* ANALYZE builds one of these structs for each attribute (column) that is