From 1cbba6ce61383d53bd7cc5dfaa5f6c32956b4839 Mon Sep 17 00:00:00 2001 From: "Marc G. Fournier" Date: Fri, 30 Jul 1999 18:52:56 +0000 Subject: [PATCH] Another batch ... --- src/include/catalog/catalog.h | 2 +- src/include/catalog/heap.h | 2 +- src/include/catalog/pg_proc.h | 2 +- src/include/commands/command.h | 2 +- src/include/commands/dbcommands.h | 3 +++ src/include/commands/defrem.h | 4 ++-- src/include/commands/explain.h | 2 +- src/include/commands/proclang.h | 2 +- src/include/commands/user.h | 3 +++ 9 files changed, 14 insertions(+), 8 deletions(-) diff --git a/src/include/catalog/catalog.h b/src/include/catalog/catalog.h index b9ef67b7f0..8372e90437 100644 --- a/src/include/catalog/catalog.h +++ b/src/include/catalog/catalog.h @@ -13,7 +13,7 @@ #ifndef CATALOG_H #define CATALOG_H -#include +#include "access/tupdesc.h" extern char *relpath(char *relname); extern bool IsSystemRelationName(char *relname); diff --git a/src/include/catalog/heap.h b/src/include/catalog/heap.h index 30a5fa5b97..df892f55a4 100644 --- a/src/include/catalog/heap.h +++ b/src/include/catalog/heap.h @@ -13,7 +13,7 @@ #ifndef HEAP_H #define HEAP_H -#include +#include "utils/rel.h" extern Oid RelnameFindRelid(char *relname); extern Relation heap_create(char *relname, TupleDesc att, diff --git a/src/include/catalog/pg_proc.h b/src/include/catalog/pg_proc.h index a1e3b00f13..ffad1636e8 100644 --- a/src/include/catalog/pg_proc.h +++ b/src/include/catalog/pg_proc.h @@ -22,7 +22,7 @@ #ifndef PG_PROC_H #define PG_PROC_H -#include +#include "tcop/dest.h" /* ---------------- * postgres.h contains the system type definintions and the diff --git a/src/include/commands/command.h b/src/include/commands/command.h index ee7592b38a..56ad4ed2af 100644 --- a/src/include/commands/command.h +++ b/src/include/commands/command.h @@ -13,7 +13,7 @@ #ifndef COMMAND_H #define COMMAND_H -#include +#include "utils/portal.h" extern MemoryContext PortalExecutorHeapMemory; diff --git a/src/include/commands/dbcommands.h b/src/include/commands/dbcommands.h index 7ba8e16fb1..2743c302fb 100644 --- a/src/include/commands/dbcommands.h +++ b/src/include/commands/dbcommands.h @@ -13,6 +13,9 @@ #ifndef DBCOMMANDS_H #define DBCOMMANDS_H +#include +#include "tcop/dest.h" + /* * Originally from tmp/daemon.h. The functions declared in daemon.h does not * exist; hence removed. -- AY 7/29/94 diff --git a/src/include/commands/defrem.h b/src/include/commands/defrem.h index 2ae412c63d..000e876565 100644 --- a/src/include/commands/defrem.h +++ b/src/include/commands/defrem.h @@ -13,8 +13,8 @@ #ifndef DEFREM_H #define DEFREM_H -#include -#include +#include "nodes/parsenodes.h" +#include "tcop/dest.h" /* * prototypes in defind.c diff --git a/src/include/commands/explain.h b/src/include/commands/explain.h index 808cb17587..35dd5d63cf 100644 --- a/src/include/commands/explain.h +++ b/src/include/commands/explain.h @@ -12,8 +12,8 @@ #ifndef EXPLAIN_H #define EXPLAIN_H -#include "tcop/dest.h" #include "nodes/parsenodes.h" +#include "tcop/dest.h" extern void ExplainQuery(Query *query, bool verbose, CommandDest dest); diff --git a/src/include/commands/proclang.h b/src/include/commands/proclang.h index f39a6498fb..42276055e6 100644 --- a/src/include/commands/proclang.h +++ b/src/include/commands/proclang.h @@ -9,7 +9,7 @@ #ifndef PROCLANG_H #define PROCLANG_H -#include +#include "nodes/parsenodes.h" extern void CreateProceduralLanguage(CreatePLangStmt *stmt); extern void DropProceduralLanguage(DropPLangStmt *stmt); diff --git a/src/include/commands/user.h b/src/include/commands/user.h index edf836e5bb..3830c11045 100644 --- a/src/include/commands/user.h +++ b/src/include/commands/user.h @@ -10,6 +10,9 @@ #ifndef USER_H #define USER_H +#include "nodes/parsenodes.h" +#include "tcop/dest.h" + extern void DefineUser(CreateUserStmt *stmt, CommandDest); extern void AlterUser(AlterUserStmt *stmt, CommandDest); extern void RemoveUser(char *user, CommandDest); -- 2.39.5