提交 d2125805 编写于 作者: M Marc G. Fournier

Another directory totally cleaned out

上级 abf578ac
......@@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: backendid.h,v 1.1 1996/08/28 01:57:54 scrappy Exp $
* $Id: backendid.h,v 1.2 1996/11/05 06:10:52 scrappy Exp $
*
*-------------------------------------------------------------------------
*/
......@@ -14,7 +14,6 @@
#define BACKENDID_H
/* ----------------
* pulled out of sinval.h to temporarily reduce #include nesting.
* -cim 8/17/90
* ----------------
*/
......
......@@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: buf_internals.h,v 1.4 1996/11/04 04:00:24 momjian Exp $
* $Id: buf_internals.h,v 1.5 1996/11/05 06:10:53 scrappy Exp $
*
* NOTE
* If BUFFERPAGE0 is defined, then 0 will be used as a
......@@ -17,13 +17,8 @@
#ifndef BUFMGR_INTERNALS_H
#define BUFMGR_INTERNALS_H
#include "storage/buf.h"
#include "storage/ipc.h"
#include "storage/shmem.h"
#include "miscadmin.h"
#include "storage/lmgr.h"
#include "utils/rel.h"
#include "utils/relcache.h"
#include <storage/lmgr.h>
#include <storage/buf.h>
/* Buf Mgr constants */
/* in bufmgr.c */
......
......@@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: bufmgr.h,v 1.6 1996/11/03 12:13:10 scrappy Exp $
* $Id: bufmgr.h,v 1.7 1996/11/05 06:10:54 scrappy Exp $
*
*-------------------------------------------------------------------------
*/
......@@ -14,10 +14,11 @@
#define BUFMGR_H
#include <stdio.h>
#include "storage/block.h"
#include "storage/buf.h"
#include "storage/ipc.h"
#include "utils/rel.h"
#include <storage/ipc.h>
#include <storage/block.h>
#include <storage/buf.h>
#include <utils/rel.h>
/*
* the maximum size of a disk block for any possible installation.
......
......@@ -6,18 +6,18 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: bufpage.h,v 1.6 1996/11/01 09:31:09 scrappy Exp $
* $Id: bufpage.h,v 1.7 1996/11/05 06:10:57 scrappy Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef BUFPAGE_H
#define BUFPAGE_H
#include "storage/item.h"
#include "storage/off.h"
#include "storage/page.h"
#include "storage/buf.h"
#include "storage/itemid.h"
#include <storage/off.h>
#include <storage/itemid.h>
#include <storage/item.h>
#include <storage/buf.h>
#include <storage/page.h>
/*
* a postgres disk page is an abstraction layered on top of a postgres
......
......@@ -6,15 +6,15 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: itempos.h,v 1.2 1996/10/31 09:49:50 scrappy Exp $
* $Id: itempos.h,v 1.3 1996/11/05 06:10:58 scrappy Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef ITEMPOS_H
#define ITEMPOS_H
#include "storage/buf.h"
#include "storage/itemid.h"
#include <storage/itemid.h>
#include <storage/buf.h>
typedef struct ItemSubpositionData {
Buffer op_db;
......
......@@ -7,15 +7,16 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: large_object.h,v 1.2 1996/10/31 09:49:54 scrappy Exp $
* $Id: large_object.h,v 1.3 1996/11/05 06:10:58 scrappy Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef LARGE_OBJECT_H
#define LARGE_OBJECT_H
#include "utils/rel.h"
#include "access/relscan.h"
#include <sys/types.h>
#include <access/relscan.h>
/*
* This structure will eventually have lots more stuff associated with it.
......
......@@ -6,17 +6,15 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: lmgr.h,v 1.2 1996/10/31 09:49:56 scrappy Exp $
* $Id: lmgr.h,v 1.3 1996/11/05 06:10:59 scrappy Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef LMGR_H
#define LMGR_H
#include "storage/itemptr.h"
#include "storage/lock.h"
#include "utils/rel.h"
#include <storage/lock.h>
#include <utils/rel.h>
/*
* This was moved from pladt.h for the new lock manager. Want to obsolete
......
......@@ -6,18 +6,15 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: lock.h,v 1.2 1996/10/31 09:49:57 scrappy Exp $
* $Id: lock.h,v 1.3 1996/11/05 06:11:00 scrappy Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef LOCK_H_
#define LOCK_H_
#include "storage/itemptr.h"
#include "storage/shmem.h"
#include "storage/spin.h"
#include "storage/backendid.h"
#include "utils/hsearch.h"
#include <storage/shmem.h>
#include <storage/itemptr.h>
extern SPINLOCK LockMgrLock;
typedef int MASK;
......
......@@ -7,15 +7,14 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: multilev.h,v 1.1 1996/08/28 01:58:17 scrappy Exp $
* $Id: multilev.h,v 1.2 1996/11/05 06:11:01 scrappy Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef MULTILEV_H
#define MULTILEV_H
#include "storage/lock.h"
#include "storage/lmgr.h"
#include <storage/lmgr.h>
#define READ_LOCK 2
#define WRITE_LOCK 1
......
......@@ -6,14 +6,13 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: pagenum.h,v 1.2 1996/10/31 09:50:00 scrappy Exp $
* $Id: pagenum.h,v 1.3 1996/11/05 06:11:02 scrappy Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef PAGENUM_H
#define PAGENUM_H
#include "storage/page.h"
typedef uint16 PageNumber;
......
......@@ -6,23 +6,20 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: proc.h,v 1.2 1996/10/31 05:57:45 momjian Exp $
* $Id: proc.h,v 1.3 1996/11/05 06:11:03 scrappy Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef _PROC_H_
#define _PROC_H_
#include "storage/ipc.h"
#include "storage/lock.h"
#include <storage/lock.h>
#ifndef WIN32
#include <sys/ipc.h>
#include <sys/sem.h>
#else
/* This is because WIN32 already defines PROC */
#define PROC PGL_PROC
#endif /* WIN32 */
#include "storage/shmem.h"
typedef struct {
......
......@@ -6,15 +6,16 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: shmem.h,v 1.1 1996/08/28 01:58:26 scrappy Exp $
* $Id: shmem.h,v 1.2 1996/11/05 06:11:04 scrappy Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef SHMEM_H
#define SHMEM_H
#include "storage/spin.h" /* for SPINLOCK */
#include "utils/hsearch.h" /* for HTAB */
#include <utils/hsearch.h>
#include <storage/spin.h>
/* The shared memory region can start at a different address
* in every process. Shared memory "pointers" are actually
......
......@@ -6,17 +6,15 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: sinval.h,v 1.2 1996/10/31 09:50:06 scrappy Exp $
* $Id: sinval.h,v 1.3 1996/11/05 06:11:05 scrappy Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef SINVAL_H
#define SINVAL_H
#include "storage/spin.h"
#include "storage/ipc.h"
#include "storage/itemptr.h"
#include "storage/backendid.h"
#include <storage/itemptr.h>
#include <storage/spin.h>
extern SPINLOCK SInvalLock;
......
......@@ -6,16 +6,15 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: sinvaladt.h,v 1.2 1996/10/31 09:50:07 scrappy Exp $
* $Id: sinvaladt.h,v 1.3 1996/11/05 06:11:06 scrappy Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef SINVALADT_H
#define SINVALADT_H
#include "storage/ipc.h"
#include "storage/itemptr.h"
#include "storage/sinval.h"
#include <storage/itemptr.h>
#include <storage/ipc.h>
/*
* The structure of the shared cache invaidation segment
......
......@@ -6,15 +6,16 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: smgr.h,v 1.1 1996/08/28 01:58:32 scrappy Exp $
* $Id: smgr.h,v 1.2 1996/11/05 06:11:07 scrappy Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef SMGR_H
#define SMGR_H
#include "utils/rel.h"
#include "storage/spin.h" /* for SPINLOCK */
#include <storage/spin.h>
#include <storage/block.h>
#include <utils/rel.h>
#define SM_FAIL 0
#define SM_SUCCESS 1
......
......@@ -6,14 +6,14 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: spin.h,v 1.1 1996/08/28 01:58:33 scrappy Exp $
* $Id: spin.h,v 1.2 1996/11/05 06:11:08 scrappy Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef SPIN_H
#define SPIN_H
#include "ipc.h"
#include <storage/ipc.h>
/*
* two implementations of spin locks
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册