mirror of
https://github.com/postgres/postgres.git
synced 2025-04-22 23:02:54 +03:00
Okay, following Bryan's (and others) suggestions...cleaning up the
include files properly...yet, slowly...
This commit is contained in:
parent
f44acab12c
commit
3516eda61c
@ -7,7 +7,7 @@
|
|||||||
*
|
*
|
||||||
* Copyright (c) 1994, Regents of the University of California
|
* Copyright (c) 1994, Regents of the University of California
|
||||||
*
|
*
|
||||||
* $Id: strat.h,v 1.2 1996/10/19 04:05:44 scrappy Exp $
|
* $Id: strat.h,v 1.3 1996/11/01 09:30:41 scrappy Exp $
|
||||||
*
|
*
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
*
|
*
|
||||||
* Copyright (c) 1994, Regents of the University of California
|
* Copyright (c) 1994, Regents of the University of California
|
||||||
*
|
*
|
||||||
* $Id: transam.h,v 1.2 1996/10/23 07:41:31 scrappy Exp $
|
* $Id: transam.h,v 1.3 1996/11/01 09:30:42 scrappy Exp $
|
||||||
*
|
*
|
||||||
* NOTES
|
* NOTES
|
||||||
* Transaction System Version 101 now support proper oid
|
* Transaction System Version 101 now support proper oid
|
||||||
@ -17,9 +17,8 @@
|
|||||||
#ifndef TRANSAM_H
|
#ifndef TRANSAM_H
|
||||||
#define TRANSAM_H
|
#define TRANSAM_H
|
||||||
|
|
||||||
#include "utils/nabstime.h"
|
|
||||||
#include "utils/rel.h"
|
|
||||||
#include "storage/bufmgr.h"
|
#include "storage/bufmgr.h"
|
||||||
|
#include "utils/nabstime.h"
|
||||||
|
|
||||||
/* ----------------
|
/* ----------------
|
||||||
* transaction system version id
|
* transaction system version id
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
*
|
*
|
||||||
* Copyright (c) 1994, Regents of the University of California
|
* Copyright (c) 1994, Regents of the University of California
|
||||||
*
|
*
|
||||||
* $Id: pg_class.h,v 1.2 1996/10/31 09:47:21 scrappy Exp $
|
* $Id: pg_class.h,v 1.3 1996/11/01 09:30:46 scrappy Exp $
|
||||||
*
|
*
|
||||||
* NOTES
|
* NOTES
|
||||||
* ``pg_relation'' is being replaced by ``pg_class''. currently
|
* ``pg_relation'' is being replaced by ``pg_class''. currently
|
||||||
@ -29,7 +29,6 @@
|
|||||||
* can be read by both genbki.sh and the C compiler.
|
* can be read by both genbki.sh and the C compiler.
|
||||||
* ----------------
|
* ----------------
|
||||||
*/
|
*/
|
||||||
#include "utils/nabstime.h"
|
|
||||||
|
|
||||||
/* ----------------
|
/* ----------------
|
||||||
* pg_class definition. cpp turns this into
|
* pg_class definition. cpp turns this into
|
||||||
|
@ -5,14 +5,15 @@
|
|||||||
*
|
*
|
||||||
* Copyright (c) 1994, Regents of the University of California
|
* Copyright (c) 1994, Regents of the University of California
|
||||||
*
|
*
|
||||||
* $Id: prs2lock.h,v 1.2 1996/10/19 04:25:53 scrappy Exp $
|
* $Id: prs2lock.h,v 1.3 1996/11/01 09:30:54 scrappy Exp $
|
||||||
*
|
*
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
#ifndef PRS2LOCK_H
|
#ifndef PRS2LOCK_H
|
||||||
#define PRS2LOCK_H
|
#define PRS2LOCK_H
|
||||||
|
|
||||||
#include "nodes/nodes.h"
|
#include "access/attnum.h"
|
||||||
|
#include "nodes/pg_list.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* RewriteRule -
|
* RewriteRule -
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
*
|
*
|
||||||
* Copyright (c) 1994, Regents of the University of California
|
* Copyright (c) 1994, Regents of the University of California
|
||||||
*
|
*
|
||||||
* $Id: bufmgr.h,v 1.4 1996/10/26 04:15:05 scrappy Exp $
|
* $Id: bufmgr.h,v 1.5 1996/11/01 09:31:05 scrappy Exp $
|
||||||
*
|
*
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
@ -18,6 +18,7 @@
|
|||||||
#include "storage/ipc.h"
|
#include "storage/ipc.h"
|
||||||
#include "storage/buf.h"
|
#include "storage/buf.h"
|
||||||
#include "utils/rel.h"
|
#include "utils/rel.h"
|
||||||
|
#include "storage/block.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* the maximum size of a disk block for any possible installation.
|
* the maximum size of a disk block for any possible installation.
|
||||||
|
@ -6,18 +6,18 @@
|
|||||||
*
|
*
|
||||||
* Copyright (c) 1994, Regents of the University of California
|
* Copyright (c) 1994, Regents of the University of California
|
||||||
*
|
*
|
||||||
* $Id: bufpage.h,v 1.5 1996/10/23 07:42:07 scrappy Exp $
|
* $Id: bufpage.h,v 1.6 1996/11/01 09:31:09 scrappy Exp $
|
||||||
*
|
*
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
#ifndef BUFPAGE_H
|
#ifndef BUFPAGE_H
|
||||||
#define BUFPAGE_H
|
#define BUFPAGE_H
|
||||||
|
|
||||||
#include "storage/itemid.h"
|
|
||||||
#include "storage/item.h"
|
#include "storage/item.h"
|
||||||
#include "storage/buf.h"
|
|
||||||
#include "storage/page.h"
|
|
||||||
#include "storage/off.h"
|
#include "storage/off.h"
|
||||||
|
#include "storage/page.h"
|
||||||
|
#include "storage/buf.h"
|
||||||
|
#include "storage/itemid.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* a postgres disk page is an abstraction layered on top of a postgres
|
* a postgres disk page is an abstraction layered on top of a postgres
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
*
|
*
|
||||||
* Copyright (c) 1994, Regents of the University of California
|
* Copyright (c) 1994, Regents of the University of California
|
||||||
*
|
*
|
||||||
* $Id: fd.h,v 1.2 1996/10/31 09:49:45 scrappy Exp $
|
* $Id: fd.h,v 1.3 1996/11/01 09:31:10 scrappy Exp $
|
||||||
*
|
*
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
@ -53,8 +53,6 @@
|
|||||||
#endif /* SEEK_SET */
|
#endif /* SEEK_SET */
|
||||||
#endif /* WIN32 */
|
#endif /* WIN32 */
|
||||||
|
|
||||||
#include "storage/block.h"
|
|
||||||
|
|
||||||
typedef char *FileName;
|
typedef char *FileName;
|
||||||
|
|
||||||
typedef int File;
|
typedef int File;
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
*
|
*
|
||||||
* Copyright (c) 1994, Regents of the University of California
|
* Copyright (c) 1994, Regents of the University of California
|
||||||
*
|
*
|
||||||
* $Id: ipc.h,v 1.7 1996/11/01 03:36:16 momjian Exp $
|
* $Id: ipc.h,v 1.8 1996/11/01 09:31:12 scrappy Exp $
|
||||||
*
|
*
|
||||||
* NOTES
|
* NOTES
|
||||||
* This file is very architecture-specific. This stuff should actually
|
* This file is very architecture-specific. This stuff should actually
|
||||||
@ -21,6 +21,8 @@
|
|||||||
#define _IPC_
|
#define _IPC_
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include <sys/types.h>
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Many architectures have support for user-level spinlocks (i.e., an
|
* Many architectures have support for user-level spinlocks (i.e., an
|
||||||
* atomic test-and-set instruction). However, we have only written
|
* atomic test-and-set instruction). However, we have only written
|
||||||
|
@ -6,19 +6,19 @@
|
|||||||
*
|
*
|
||||||
* Copyright (c) 1994, Regents of the University of California
|
* Copyright (c) 1994, Regents of the University of California
|
||||||
*
|
*
|
||||||
* $Id: rel.h,v 1.4 1996/10/24 07:55:54 scrappy Exp $
|
* $Id: rel.h,v 1.5 1996/11/01 09:31:17 scrappy Exp $
|
||||||
*
|
*
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
#ifndef REL_H
|
#ifndef REL_H
|
||||||
#define REL_H
|
#define REL_H
|
||||||
|
|
||||||
#include "access/tupdesc.h"
|
|
||||||
#include "storage/fd.h"
|
|
||||||
#include "catalog/pg_am.h"
|
|
||||||
#include "catalog/pg_class.h"
|
|
||||||
#include "rewrite/prs2lock.h"
|
|
||||||
#include "access/strat.h"
|
#include "access/strat.h"
|
||||||
|
#include "rewrite/prs2lock.h"
|
||||||
|
#include "access/tupdesc.h"
|
||||||
|
#include "catalog/pg_class.h"
|
||||||
|
#include "catalog/pg_am.h"
|
||||||
|
#include "storage/fd.h"
|
||||||
|
|
||||||
typedef struct RelationData {
|
typedef struct RelationData {
|
||||||
File rd_fd; /* open file descriptor */
|
File rd_fd; /* open file descriptor */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user