Commit 4312192e authored by Marc G. Fournier's avatar Marc G. Fournier

another directory cleaned of extraneous #includes

makefile fixed for fmgr.h
parent 0cf60fb7
...@@ -4,14 +4,15 @@ ...@@ -4,14 +4,15 @@
# Makefile for access/hash # Makefile for access/hash
# #
# IDENTIFICATION # IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/access/hash/Makefile,v 1.2 1996/10/31 08:24:36 scrappy Exp $ # $Header: /cvsroot/pgsql/src/backend/access/hash/Makefile,v 1.3 1996/11/05 09:40:16 scrappy Exp $
# #
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
SRCDIR = ../../.. SRCDIR = ../../..
include ../../../Makefile.global include ../../../Makefile.global
INCLUDE_OPT = -I../../port/$(PORTNAME) \ INCLUDE_OPT = -I../.. \
-I../../port/$(PORTNAME) \
-I../../../include -I../../../include
CFLAGS+=$(INCLUDE_OPT) CFLAGS+=$(INCLUDE_OPT)
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/access/hash/hash.c,v 1.9 1996/11/03 12:34:33 scrappy Exp $ * $Header: /cvsroot/pgsql/src/backend/access/hash/hash.c,v 1.10 1996/11/05 09:40:17 scrappy Exp $
* *
* NOTES * NOTES
* This file contains only the public interface routines. * This file contains only the public interface routines.
...@@ -15,33 +15,22 @@ ...@@ -15,33 +15,22 @@
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
#include "postgres.h" #include <postgres.h>
#include "access/relscan.h" #include <access/hash.h>
#include "access/hash.h" #include <executor/executor.h>
#include <access/heapam.h>
#include "nodes/execnodes.h" #include <access/genam.h>
#include <catalog/index.h>
#include "executor/executor.h" #include <storage/bufmgr.h>
#include <miscadmin.h>
#include "access/heapam.h"
#include "access/genam.h"
#include "utils/palloc.h"
#include "catalog/index.h"
#ifndef HAVE_MEMMOVE #ifndef HAVE_MEMMOVE
# include "regex/utils.h" # include <regex/utils.h>
#else #else
# include <string.h> # include <string.h>
#endif #endif
#include "storage/bufmgr.h"
#include "miscadmin.h"
bool BuildingHash = false; bool BuildingHash = false;
/* /*
......
...@@ -7,24 +7,16 @@ ...@@ -7,24 +7,16 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/access/hash/hashinsert.c,v 1.6 1996/11/03 12:34:35 scrappy Exp $ * $Header: /cvsroot/pgsql/src/backend/access/hash/hashinsert.c,v 1.7 1996/11/05 09:40:18 scrappy Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
#include <stdio.h> #include <postgres.h>
#include <time.h>
#include "postgres.h"
#include "access/relscan.h" #include <access/hash.h>
#include "access/hash.h" #include <storage/bufmgr.h>
#include <utils/memutils.h>
#include "storage/bufmgr.h"
#include "utils/palloc.h"
#include "utils/memutils.h"
static InsertIndexResult _hash_insertonpg(Relation rel, Buffer buf, int keysz, ScanKey scankey, HashItem hitem, Buffer metabuf); static InsertIndexResult _hash_insertonpg(Relation rel, Buffer buf, int keysz, ScanKey scankey, HashItem hitem, Buffer metabuf);
static OffsetNumber _hash_pgaddtup(Relation rel, Buffer buf, int keysz, ScanKey itup_scankey, Size itemsize, HashItem hitem); static OffsetNumber _hash_pgaddtup(Relation rel, Buffer buf, int keysz, ScanKey itup_scankey, Size itemsize, HashItem hitem);
......
...@@ -7,22 +7,21 @@ ...@@ -7,22 +7,21 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/access/hash/hashovfl.c,v 1.7 1996/11/03 12:34:38 scrappy Exp $ * $Header: /cvsroot/pgsql/src/backend/access/hash/hashovfl.c,v 1.8 1996/11/05 09:40:20 scrappy Exp $
* *
* NOTES * NOTES
* Overflow pages look like ordinary relation pages. * Overflow pages look like ordinary relation pages.
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
#include "postgres.h" #include <postgres.h>
#include "access/relscan.h" #include <access/hash.h>
#include "access/hash.h" #include <storage/bufmgr.h>
#include "storage/bufmgr.h" #include <utils/memutils.h>
#include "utils/memutils.h"
#ifndef HAVE_MEMMOVE #ifndef HAVE_MEMMOVE
# include "regex/utils.h" # include <regex/utils.h>
#else #else
# include <string.h> # include <string.h>
#endif #endif
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/access/hash/hashpage.c,v 1.6 1996/11/03 12:34:40 scrappy Exp $ * $Header: /cvsroot/pgsql/src/backend/access/hash/hashpage.c,v 1.7 1996/11/05 09:40:21 scrappy Exp $
* *
* NOTES * NOTES
* Postgres hash pages look like ordinary relation pages. The opaque * Postgres hash pages look like ordinary relation pages. The opaque
...@@ -23,23 +23,17 @@ ...@@ -23,23 +23,17 @@
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
#include "postgres.h" #include <postgres.h>
#include "access/relscan.h" #include <access/hash.h>
#include "access/hash.h" #include <storage/bufmgr.h>
#include <miscadmin.h>
#include "storage/bufmgr.h" #include <utils/memutils.h>
#include <storage/lmgr.h>
#include "miscadmin.h" #include <access/genam.h>
#include "utils/memutils.h"
#include "storage/lmgr.h"
#include "access/genam.h"
#ifndef HAVE_MEMMOVE #ifndef HAVE_MEMMOVE
# include "regex/utils.h" # include <regex/utils.h>
#else #else
# include <string.h> # include <string.h>
#endif #endif
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/access/hash/hashscan.c,v 1.6 1996/11/03 12:34:41 scrappy Exp $ * $Header: /cvsroot/pgsql/src/backend/access/hash/hashscan.c,v 1.7 1996/11/05 09:40:22 scrappy Exp $
* *
* NOTES * NOTES
* Because we can be doing an index scan on a relation while we * Because we can be doing an index scan on a relation while we
...@@ -27,11 +27,9 @@ ...@@ -27,11 +27,9 @@
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
#include "postgres.h" #include <postgres.h>
#include "access/relscan.h" #include <access/hash.h>
#include "access/hash.h"
#include "utils/palloc.h"
static void _hash_scandel(IndexScanDesc scan, BlockNumber blkno, OffsetNumber offno); static void _hash_scandel(IndexScanDesc scan, BlockNumber blkno, OffsetNumber offno);
static bool _hash_scantouched(IndexScanDesc scan, BlockNumber blkno, OffsetNumber offno); static bool _hash_scantouched(IndexScanDesc scan, BlockNumber blkno, OffsetNumber offno);
......
...@@ -7,17 +7,15 @@ ...@@ -7,17 +7,15 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/access/hash/hashsearch.c,v 1.6 1996/11/03 12:34:42 scrappy Exp $ * $Header: /cvsroot/pgsql/src/backend/access/hash/hashsearch.c,v 1.7 1996/11/05 09:40:23 scrappy Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
#include "postgres.h" #include <postgres.h>
#include "access/relscan.h" #include <access/hash.h>
#include "access/hash.h" #include <storage/bufmgr.h>
#include "utils/palloc.h"
#include "storage/bufmgr.h"
#ifndef HAVE_MEMMOVE #ifndef HAVE_MEMMOVE
# include "regex/utils.h" # include "regex/utils.h"
......
...@@ -7,16 +7,15 @@ ...@@ -7,16 +7,15 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/access/hash/Attic/hashstrat.c,v 1.6 1996/11/03 12:34:44 scrappy Exp $ * $Header: /cvsroot/pgsql/src/backend/access/hash/Attic/hashstrat.c,v 1.7 1996/11/05 09:40:24 scrappy Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
#include "postgres.h" #include <postgres.h>
#include "access/relscan.h" #include <access/hash.h>
#include "access/hash.h" #include <access/istrat.h>
#include "access/istrat.h"
/* /*
* only one valid strategy for hash tables: equality. * only one valid strategy for hash tables: equality.
......
...@@ -7,22 +7,20 @@ ...@@ -7,22 +7,20 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/access/hash/hashutil.c,v 1.6 1996/11/03 12:34:45 scrappy Exp $ * $Header: /cvsroot/pgsql/src/backend/access/hash/hashutil.c,v 1.7 1996/11/05 09:40:25 scrappy Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
#include "postgres.h" #include <postgres.h>
#include "access/relscan.h" #include <access/hash.h>
#include "access/hash.h" #include <fmgr.h>
#include "utils/palloc.h" #include <utils/memutils.h>
#include "fmgr.h" #include <access/iqual.h>
#include "utils/memutils.h"
#include "access/iqual.h"
#ifndef HAVE_MEMMOVE #ifndef HAVE_MEMMOVE
# include "regex/utils.h" # include <regex/utils.h>
#else #else
# include <string.h> # include <string.h>
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment