mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-12-27 08:39:28 +08:00
More include file cleanups
This commit is contained in:
parent
4bdf308bdf
commit
0c960e7fc0
@ -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"
|
||||
|
@ -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"
|
||||
|
||||
/* ----------------
|
||||
|
@ -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);
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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"
|
||||
|
||||
/*
|
||||
|
@ -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"
|
||||
|
@ -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
|
||||
|
@ -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,
|
||||
|
@ -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)
|
||||
|
@ -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
|
||||
|
||||
|
@ -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;
|
||||
|
||||
|
@ -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"
|
||||
|
||||
/* ----------------
|
||||
|
@ -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"
|
||||
|
||||
|
@ -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;
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user