More include file cleanups

This commit is contained in:
Marc G. Fournier 1996-11-03 08:17:38 +00:00
parent 4bdf308bdf
commit 0c960e7fc0
16 changed files with 38 additions and 95 deletions

View File

@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/access/common/heaptuple.c,v 1.12 1996/11/01 09:41:35 scrappy Exp $
* $Header: /cvsroot/pgsql/src/backend/access/common/heaptuple.c,v 1.13 1996/11/03 08:16:44 scrappy Exp $
*
* NOTES
* The old interface functions have been converted to macros
@ -21,9 +21,7 @@
#include "access/htup.h"
#include "access/transam.h"
#include "access/tupdesc.h"
#include "access/tupmacs.h"
#include "storage/buf.h"
#include "storage/bufpage.h"
#include "utils/memutils.h"
#include "utils/palloc.h"

View File

@ -7,28 +7,18 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/access/common/Attic/heapvalid.c,v 1.9 1996/11/01 09:41:37 scrappy Exp $
* $Header: /cvsroot/pgsql/src/backend/access/common/Attic/heapvalid.c,v 1.10 1996/11/03 08:16:46 scrappy Exp $
*
*-------------------------------------------------------------------------
*/
#include "postgres.h"
#include "access/htup.h"
#include "utils/rel.h"
#include "access/tupdesc.h"
#include "fmgr.h"
#include "catalog/pg_attribute.h"
#include "storage/buf.h"
#include "storage/item.h"
#include "storage/itemid.h"
#include "storage/page.h"
#include "access/heaptuple.h"
#include "access/xact.h"
#include "storage/bufpage.h"
#include "access/heaptuple.h"
#include "utils/rel.h"
#include "utils/tqual.h"
/* ----------------

View File

@ -8,33 +8,20 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/access/common/indextuple.c,v 1.8 1996/11/01 09:41:37 scrappy Exp $
* $Header: /cvsroot/pgsql/src/backend/access/common/indextuple.c,v 1.9 1996/11/03 08:16:47 scrappy Exp $
*
*-------------------------------------------------------------------------
*/
#include <string.h>
#include "postgres.h"
#include "access/htup.h"
#include "utils/rel.h"
#include "access/tupmacs.h"
#include "catalog/pg_attribute.h"
#include "storage/buf.h"
#include "utils/memutils.h"
#include "utils/palloc.h"
#include "access/ibit.h"
#include "access/tupdesc.h"
#include "access/itup.h"
#include "utils/tqual.h"
#include "access/relscan.h"
#include "access/heapam.h"
#include "access/ibit.h"
#include "access/itup.h"
#include "access/relscan.h"
#include "access/tupmacs.h"
#include "utils/palloc.h"
static Size IndexInfoFindDataOffset(unsigned short t_info);

View File

@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/access/common/Attic/indexvalid.c,v 1.9 1996/11/01 09:41:38 scrappy Exp $
* $Header: /cvsroot/pgsql/src/backend/access/common/Attic/indexvalid.c,v 1.10 1996/11/03 08:16:48 scrappy Exp $
*
*-------------------------------------------------------------------------
*/
@ -15,14 +15,9 @@
#include "postgres.h"
#include "access/htup.h"
#include "access/tupdesc.h"
#include "executor/execdebug.h"
#include "access/skey.h"
#include "access/itup.h"
#include "access/skey.h"
#include "executor/execdebug.h"
/* ----------------------------------------------------------------
* index scan key qualification code

View File

@ -8,31 +8,24 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/access/common/printtup.c,v 1.7 1996/11/01 09:41:39 scrappy Exp $
* $Header: /cvsroot/pgsql/src/backend/access/common/printtup.c,v 1.8 1996/11/03 08:16:49 scrappy Exp $
*
*-------------------------------------------------------------------------
*/
#include <stdio.h>
#include <sys/types.h>
#include <netinet/in.h>
#include "postgres.h"
#include "access/htup.h"
#include "access/heaptuple.h"
#include "utils/rel.h"
#include "access/tupdesc.h"
#include "utils/palloc.h"
#include "fmgr.h"
#include "libpq/pqcomm.h"
#include "storage/buf.h"
#include "utils/palloc.h"
#include "libpq/libpq.h"
#include "catalog/pg_type.h"
#include "utils/syscache.h"
#include "access/heaptuple.h"
/* ----------------------------------------------------------------
* printtup / debugtup support

View File

@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/access/common/scankey.c,v 1.6 1996/11/01 09:41:40 scrappy Exp $
* $Header: /cvsroot/pgsql/src/backend/access/common/scankey.c,v 1.7 1996/11/03 08:16:50 scrappy Exp $
*
*-------------------------------------------------------------------------
*/
@ -16,7 +16,6 @@
#include "fmgr.h"
#include "access/attnum.h"
#include "access/skey.h"
/*

View File

@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/access/common/tupdesc.c,v 1.7 1996/11/01 09:41:41 scrappy Exp $
* $Header: /cvsroot/pgsql/src/backend/access/common/tupdesc.c,v 1.8 1996/11/03 08:16:51 scrappy Exp $
*
* NOTES
* some of the executor utility code such as "ExecTypeFromTL" should be
@ -16,15 +16,10 @@
*-------------------------------------------------------------------------
*/
#include <string.h>
#include <stdio.h>
#include <time.h>
#include "postgres.h"
#include "access/htup.h"
#include "utils/rel.h"
#include "access/tupdesc.h"
#include "utils/fcache.h"
#include "utils/geo-decls.h"

View File

@ -6,24 +6,15 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: heapam.h,v 1.3 1996/10/31 09:46:37 scrappy Exp $
* $Id: heapam.h,v 1.4 1996/11/03 08:17:18 scrappy Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef HEAPAM_H
#define HEAPAM_H
#include <sys/types.h>
#include "access/attnum.h"
#include "access/htup.h"
#include "access/relscan.h"
#include "access/skey.h"
#include "utils/tqual.h"
#include "access/tupdesc.h"
#include "storage/smgr.h"
#include "utils/rel.h"
#include "storage/buf.h"
/* ----------------------------------------------------------------
* heap access method statistics

View File

@ -6,13 +6,17 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: heaptuple.h,v 1.1 1996/10/18 17:58:33 scrappy Exp $
* $Id: heaptuple.h,v 1.2 1996/11/03 08:17:19 scrappy Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef HEAPTUPLE_H
#define HEAPTUPLE_H
#include "access/htup.h"
#include "storage/buf.h"
#include "access/tupdesc.h"
extern char *heap_getattr(HeapTuple tup,
Buffer b,
int attnum,

View File

@ -6,14 +6,14 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: ibit.h,v 1.2 1996/10/19 04:09:32 scrappy Exp $
* $Id: ibit.h,v 1.3 1996/11/03 08:17:20 scrappy Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef IBIT_H
#define IBIT_H
#include "utils/memutils.h"
#include "utils/memutils.h"
typedef struct IndexAttributeBitMapData {
char bits[(MaxIndexAttributeNumber + MaxBitsPerByte - 1)

View File

@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: itup.h,v 1.2 1996/10/19 04:08:58 scrappy Exp $
* $Id: itup.h,v 1.3 1996/11/03 08:17:21 scrappy Exp $
*
*-------------------------------------------------------------------------
*/
@ -14,7 +14,7 @@
#define ITUP_H
#include "storage/itemptr.h"
#include "access/tupdesc.h"
#include "access/tupdesc.h"
#define MaxIndexAttributeNumber 7

View File

@ -6,16 +6,16 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: relscan.h,v 1.3 1996/10/23 07:41:30 scrappy Exp $
* $Id: relscan.h,v 1.4 1996/11/03 08:17:22 scrappy Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef RELSCAN_H
#define RELSCAN_H
#include "utils/tqual.h"
#include "utils/rel.h"
#include "storage/buf.h"
#include "utils/tqual.h"
#include "storage/buf.h"
typedef ItemPointerData MarkData;

View File

@ -6,20 +6,13 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: xact.h,v 1.1 1996/08/27 21:50:29 scrappy Exp $
* $Id: xact.h,v 1.2 1996/11/03 08:17:23 scrappy Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef XACT_H
#define XACT_H
#include <signal.h>
#include "storage/ipc.h"
#include "miscadmin.h"
#include "utils/portal.h"
#include "utils/elog.h"
#include "utils/mcxt.h"
#include "utils/nabstime.h"
/* ----------------

View File

@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: memnodes.h,v 1.2 1996/10/19 06:27:27 scrappy Exp $
* $Id: memnodes.h,v 1.3 1996/11/03 08:17:27 scrappy Exp $
*
* XXX the typedefs in this file are different from the other ???nodes.h;
* they are pointers to structures instead of the structures themselves.
@ -18,6 +18,7 @@
#ifndef MEMNODES_H
#define MEMNODES_H
#include "nodes/nodes.h"
#include "utils/memutils.h"
#include "lib/fstack.h"

View File

@ -6,16 +6,14 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: mcxt.h,v 1.2 1996/10/31 09:51:24 scrappy Exp $
* $Id: mcxt.h,v 1.3 1996/11/03 08:17:34 scrappy Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef MCXT_H
#define MCXT_H
#include "nodes/memnodes.h"
#include "nodes/nodes.h"
extern MemoryContext CurrentMemoryContext;
extern MemoryContext TopMemoryContext;

View File

@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: tqual.h,v 1.3 1996/10/23 07:42:13 scrappy Exp $
* $Id: tqual.h,v 1.4 1996/11/03 08:17:38 scrappy Exp $
*
* NOTE
* It may be desirable to allow time qualifications to indicate
@ -17,7 +17,6 @@
#ifndef TQUAL_H
#define TQUAL_H
#include "utils/nabstime.h"
#include "access/htup.h"
typedef struct TimeQualSpace {