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.
pull/3/head
Alvaro Herrera 14 years ago
parent eeece9e609
commit 77ed0c6950
  1. 1
      src/backend/access/transam/twophase.c
  2. 1
      src/backend/access/transam/xact.c
  3. 1
      src/backend/storage/ipc/ipci.c
  4. 1
      src/backend/storage/ipc/procarray.c
  5. 1
      src/backend/storage/lmgr/lock.c
  6. 1
      src/backend/storage/lmgr/predicate.c
  7. 1
      src/backend/utils/init/postinit.c
  8. 1
      src/backend/utils/misc/guc.c
  9. 4
      src/include/access/twophase.h
  10. 2
      src/include/storage/proc.h
  11. 2
      src/include/storage/sinvaladt.h

@ -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"

@ -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"

@ -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"

@ -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"

@ -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"

@ -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"

@ -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"

@ -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"

@ -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

@ -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"

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

Loading…
Cancel
Save