Commit 77ed0c69 authored by Alvaro Herrera's avatar Alvaro Herrera

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.
parent eeece9e6
...@@ -58,6 +58,7 @@ ...@@ -58,6 +58,7 @@
#include "replication/syncrep.h" #include "replication/syncrep.h"
#include "storage/fd.h" #include "storage/fd.h"
#include "storage/predicate.h" #include "storage/predicate.h"
#include "storage/proc.h"
#include "storage/procarray.h" #include "storage/procarray.h"
#include "storage/sinvaladt.h" #include "storage/sinvaladt.h"
#include "storage/smgr.h" #include "storage/smgr.h"
......
...@@ -40,6 +40,7 @@ ...@@ -40,6 +40,7 @@
#include "replication/syncrep.h" #include "replication/syncrep.h"
#include "storage/lmgr.h" #include "storage/lmgr.h"
#include "storage/predicate.h" #include "storage/predicate.h"
#include "storage/proc.h"
#include "storage/procarray.h" #include "storage/procarray.h"
#include "storage/sinvaladt.h" #include "storage/sinvaladt.h"
#include "storage/smgr.h" #include "storage/smgr.h"
......
...@@ -33,6 +33,7 @@ ...@@ -33,6 +33,7 @@
#include "storage/pg_shmem.h" #include "storage/pg_shmem.h"
#include "storage/pmsignal.h" #include "storage/pmsignal.h"
#include "storage/predicate.h" #include "storage/predicate.h"
#include "storage/proc.h"
#include "storage/procarray.h" #include "storage/procarray.h"
#include "storage/procsignal.h" #include "storage/procsignal.h"
#include "storage/sinvaladt.h" #include "storage/sinvaladt.h"
......
...@@ -51,6 +51,7 @@ ...@@ -51,6 +51,7 @@
#include "access/xact.h" #include "access/xact.h"
#include "access/twophase.h" #include "access/twophase.h"
#include "miscadmin.h" #include "miscadmin.h"
#include "storage/proc.h"
#include "storage/procarray.h" #include "storage/procarray.h"
#include "storage/spin.h" #include "storage/spin.h"
#include "utils/builtins.h" #include "utils/builtins.h"
......
...@@ -38,6 +38,7 @@ ...@@ -38,6 +38,7 @@
#include "miscadmin.h" #include "miscadmin.h"
#include "pg_trace.h" #include "pg_trace.h"
#include "pgstat.h" #include "pgstat.h"
#include "storage/proc.h"
#include "storage/sinvaladt.h" #include "storage/sinvaladt.h"
#include "storage/spin.h" #include "storage/spin.h"
#include "storage/standby.h" #include "storage/standby.h"
......
...@@ -193,6 +193,7 @@ ...@@ -193,6 +193,7 @@
#include "storage/bufmgr.h" #include "storage/bufmgr.h"
#include "storage/predicate.h" #include "storage/predicate.h"
#include "storage/predicate_internals.h" #include "storage/predicate_internals.h"
#include "storage/proc.h"
#include "storage/procarray.h" #include "storage/procarray.h"
#include "utils/rel.h" #include "utils/rel.h"
#include "utils/snapmgr.h" #include "utils/snapmgr.h"
......
...@@ -44,6 +44,7 @@ ...@@ -44,6 +44,7 @@
#include "storage/proc.h" #include "storage/proc.h"
#include "storage/procarray.h" #include "storage/procarray.h"
#include "storage/procsignal.h" #include "storage/procsignal.h"
#include "storage/proc.h"
#include "storage/sinvaladt.h" #include "storage/sinvaladt.h"
#include "storage/smgr.h" #include "storage/smgr.h"
#include "tcop/tcopprot.h" #include "tcop/tcopprot.h"
......
...@@ -62,6 +62,7 @@ ...@@ -62,6 +62,7 @@
#include "storage/bufmgr.h" #include "storage/bufmgr.h"
#include "storage/standby.h" #include "storage/standby.h"
#include "storage/fd.h" #include "storage/fd.h"
#include "storage/proc.h"
#include "storage/predicate.h" #include "storage/predicate.h"
#include "tcop/tcopprot.h" #include "tcop/tcopprot.h"
#include "tsearch/ts_cache.h" #include "tsearch/ts_cache.h"
......
...@@ -14,7 +14,9 @@ ...@@ -14,7 +14,9 @@
#ifndef TWOPHASE_H #ifndef TWOPHASE_H
#define 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 * GlobalTransactionData is defined in twophase.c; other places have no
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
#ifndef _PROC_H_ #ifndef _PROC_H_
#define _PROC_H_ #define _PROC_H_
#include "access/xlog.h" #include "access/xlogdefs.h"
#include "datatype/timestamp.h" #include "datatype/timestamp.h"
#include "storage/latch.h" #include "storage/latch.h"
#include "storage/lock.h" #include "storage/lock.h"
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
#ifndef SINVALADT_H #ifndef SINVALADT_H
#define SINVALADT_H #define SINVALADT_H
#include "storage/proc.h" #include "storage/lock.h"
#include "storage/sinval.h" #include "storage/sinval.h"
/* /*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment