Tighten up includes in sinvaladt.h, twophase.h, proc.h

Remove proc.h from sinvaladt.h and twophase.h; also replace xlog.h in
proc.h with xlogdefs.h.
This commit is contained in:
Alvaro Herrera 2012-06-25 17:45:15 -04:00
parent eeece9e609
commit 77ed0c6950
11 changed files with 13 additions and 3 deletions

View File

@ -58,6 +58,7 @@
#include "replication/syncrep.h"
#include "storage/fd.h"
#include "storage/predicate.h"
#include "storage/proc.h"
#include "storage/procarray.h"
#include "storage/sinvaladt.h"
#include "storage/smgr.h"

View File

@ -40,6 +40,7 @@
#include "replication/syncrep.h"
#include "storage/lmgr.h"
#include "storage/predicate.h"
#include "storage/proc.h"
#include "storage/procarray.h"
#include "storage/sinvaladt.h"
#include "storage/smgr.h"

View File

@ -33,6 +33,7 @@
#include "storage/pg_shmem.h"
#include "storage/pmsignal.h"
#include "storage/predicate.h"
#include "storage/proc.h"
#include "storage/procarray.h"
#include "storage/procsignal.h"
#include "storage/sinvaladt.h"

View File

@ -51,6 +51,7 @@
#include "access/xact.h"
#include "access/twophase.h"
#include "miscadmin.h"
#include "storage/proc.h"
#include "storage/procarray.h"
#include "storage/spin.h"
#include "utils/builtins.h"

View File

@ -38,6 +38,7 @@
#include "miscadmin.h"
#include "pg_trace.h"
#include "pgstat.h"
#include "storage/proc.h"
#include "storage/sinvaladt.h"
#include "storage/spin.h"
#include "storage/standby.h"

View File

@ -193,6 +193,7 @@
#include "storage/bufmgr.h"
#include "storage/predicate.h"
#include "storage/predicate_internals.h"
#include "storage/proc.h"
#include "storage/procarray.h"
#include "utils/rel.h"
#include "utils/snapmgr.h"

View File

@ -44,6 +44,7 @@
#include "storage/proc.h"
#include "storage/procarray.h"
#include "storage/procsignal.h"
#include "storage/proc.h"
#include "storage/sinvaladt.h"
#include "storage/smgr.h"
#include "tcop/tcopprot.h"

View File

@ -62,6 +62,7 @@
#include "storage/bufmgr.h"
#include "storage/standby.h"
#include "storage/fd.h"
#include "storage/proc.h"
#include "storage/predicate.h"
#include "tcop/tcopprot.h"
#include "tsearch/ts_cache.h"

View File

@ -14,7 +14,9 @@
#ifndef TWOPHASE_H
#define TWOPHASE_H
#include "storage/proc.h"
#include "access/xlogdefs.h"
#include "datatype/timestamp.h"
#include "storage/lock.h"
/*
* GlobalTransactionData is defined in twophase.c; other places have no

View File

@ -14,7 +14,7 @@
#ifndef _PROC_H_
#define _PROC_H_
#include "access/xlog.h"
#include "access/xlogdefs.h"
#include "datatype/timestamp.h"
#include "storage/latch.h"
#include "storage/lock.h"

View File

@ -22,7 +22,7 @@
#ifndef SINVALADT_H
#define SINVALADT_H
#include "storage/proc.h"
#include "storage/lock.h"
#include "storage/sinval.h"
/*