Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
0eac5b0e
Commit
0eac5b0e
authored
Oct 19, 1996
by
Marc G. Fournier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Welp, another subdirectory cleaned out of redundant/unused #include
files
parent
e77f64af
Changes
11
Show whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
34 additions
and
92 deletions
+34
-92
src/backend/access/gist/gist.c
src/backend/access/gist/gist.c
+8
-17
src/backend/access/gist/gistget.c
src/backend/access/gist/gistget.c
+6
-12
src/backend/access/gist/gistscan.c
src/backend/access/gist/gistscan.c
+3
-9
src/backend/access/gist/giststrat.c
src/backend/access/gist/giststrat.c
+3
-6
src/include/access/gist.h
src/include/access/gist.h
+1
-4
src/include/access/relscan.h
src/include/access/relscan.h
+3
-8
src/include/executor/hashjoin.h
src/include/executor/hashjoin.h
+1
-2
src/include/nodes/execnodes.h
src/include/nodes/execnodes.h
+4
-16
src/include/nodes/memnodes.h
src/include/nodes/memnodes.h
+1
-4
src/include/storage/bufmgr.h
src/include/storage/bufmgr.h
+2
-7
src/include/storage/ipc.h
src/include/storage/ipc.h
+2
-7
No files found.
src/backend/access/gist/gist.c
View file @
0eac5b0e
...
...
@@ -10,30 +10,21 @@
*
*-------------------------------------------------------------------------
*/
#include "postgres.h"
#include "storage/bufmgr.h"
#include "storage/bufpage.h"
#include "postgres.h"
#include "utils/elog.h"
#include "utils/palloc.h"
#include "utils/rel.h"
#include "utils/excid.h"
#include "access/heapam.h"
#include "access/genam.h"
#include "access/itup.h"
#include "access/gist.h"
#include "access/gistscan.h"
#include "access/funcindex.h"
#include "access/tupdesc.h"
#include "nodes/execnodes.h"
#include "nodes/plannodes.h"
#include "executor/executor.h"
#include "access/htup.h"
#include "executor/tuptable.h"
#include "access/relscan.h"
#include "nodes/execnodes.h"
#include "storage/bufmgr.h"
#include "catalog/pg_index.h"
#include "utils/syscache.h"
#include "catalog/index.h"
/* non-export function prototypes */
static
InsertIndexResult
gistdoinsert
(
Relation
r
,
IndexTuple
itup
,
...
...
src/backend/access/gist/gistget.c
View file @
0eac5b0e
...
...
@@ -10,22 +10,16 @@
*
*-------------------------------------------------------------------------
*/
#include "postgres.h"
#include "storage/bufmgr.h"
#include "storage/bufpage.h"
#include "postgres.h"
#include "utils/elog.h"
#include "utils/palloc.h"
#include "utils/rel.h"
#include "access/heapam.h"
#include "access/genam.h"
#include "access/iqual.h"
#include "access/gist.h"
#include "access/htup.h"
#include "access/relscan.h"
#include "storage/bufpage.h"
#include "access/sdir.h"
#include "
executor/execdebug
.h"
#include "access/itup.h"
#include "
access/gist
.h"
static
OffsetNumber
gistfindnext
(
IndexScanDesc
s
,
Page
p
,
OffsetNumber
n
,
ScanDirection
dir
);
...
...
src/backend/access/gist/gistscan.c
View file @
0eac5b0e
...
...
@@ -9,19 +9,13 @@
*
*-------------------------------------------------------------------------
*/
#include "postgres.h"
#include "storage/bufmgr.h"
#include "storage/bufpage.h"
#include "postgres.h"
#include "utils/elog.h"
#include "utils/palloc.h"
#include "utils/rel.h"
#include "access/heapam.h"
#include "access/genam.h"
#include "access/htup.h"
#include "access/relscan.h"
#include "access/gist.h"
#include "access/giststrat.h"
/* routines defined and used here */
static
void
gistregscan
(
IndexScanDesc
s
);
...
...
src/backend/access/gist/giststrat.c
View file @
0eac5b0e
...
...
@@ -11,14 +11,11 @@
*
*-------------------------------------------------------------------------
*/
#include "c.h"
#include "postgres.h"
#include "utils/rel.h"
#include "storage/bufmgr.h"
#include "storage/bufpage.h"
#include "access/istrat.h"
#include "storage/off.h"
#include "storage/block.h"
#include "access/gist.h"
/*
...
...
src/include/access/gist.h
View file @
0eac5b0e
...
...
@@ -12,11 +12,8 @@
#ifndef GIST_H
#define GIST_H
#include "utils/rel.h"
#include "storage/off.h"
#include "storage/block.h"
#include "storage/bufpage.h"
#include "access/skey.h"
/*
** You can have as many strategies as you please in GiSTs, as
...
...
src/include/access/relscan.h
View file @
0eac5b0e
...
...
@@ -6,22 +6,17 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: relscan.h,v 1.
1 1996/08/27 21:50:20
scrappy Exp $
* $Id: relscan.h,v 1.
2 1996/10/19 06:27:08
scrappy Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef RELSCAN_H
#define RELSCAN_H
#include "c.h"
#include "access/skey.h"
#include "utils/tqual.h"
#include "storage/buf.h"
#include "access/htup.h"
#include "storage/itemptr.h"
#include "utils/tqual.h"
#include "utils/rel.h"
typedef
ItemPointerData
MarkData
;
...
...
src/include/executor/hashjoin.h
View file @
0eac5b0e
...
...
@@ -6,14 +6,13 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: hashjoin.h,v 1.
1 1996/08/28 07:22:1
3 scrappy Exp $
* $Id: hashjoin.h,v 1.
2 1996/10/19 06:27:3
3 scrappy Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef HASHJOIN_H
#define HASHJOIN_H
#include "access/htup.h"
#include "storage/ipc.h"
/* -----------------
...
...
src/include/nodes/execnodes.h
View file @
0eac5b0e
...
...
@@ -6,30 +6,18 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: execnodes.h,v 1.
1 1996/08/28 01:57:30
scrappy Exp $
* $Id: execnodes.h,v 1.
2 1996/10/19 06:27:25
scrappy Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef EXECNODES_H
#define EXECNODES_H
#include "postgres.h"
#include "nodes/nodes.h"
#include "nodes/primnodes.h"
#include "nodes/pg_list.h"
#include "nodes/memnodes.h"
#include "storage/item.h"
#include "nodes/params.h"
#include "access/sdir.h"
#include "access/htup.h"
#include "access/tupdesc.h"
#include "access/funcindex.h"
#include "utils/rel.h"
#include "access/relscan.h"
#include "executor/hashjoin.h"
#include "executor/tuptable.h"
#include "nodes/primnodes.h"
#include "nodes/memnodes.h"
/* ----------------
* IndexInfo information
...
...
src/include/nodes/memnodes.h
View file @
0eac5b0e
...
...
@@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: memnodes.h,v 1.
1 1996/08/28 01:57:34
scrappy Exp $
* $Id: memnodes.h,v 1.
2 1996/10/19 06:27: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,12 +18,9 @@
#ifndef MEMNODES_H
#define MEMNODES_H
#include "c.h"
#include "utils/memutils.h"
#include "lib/fstack.h"
#include "nodes/nodes.h"
/*
* MemoryContext --
...
...
src/include/storage/bufmgr.h
View file @
0eac5b0e
...
...
@@ -6,19 +6,14 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: bufmgr.h,v 1.
1 1996/08/28 01:58:01
scrappy Exp $
* $Id: bufmgr.h,v 1.
2 1996/10/19 06:27:14
scrappy Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef BUFMGR_H
#define BUFMGR_H
#include "c.h"
#include "machine.h"
/* for BLCKSZ */
#include "utils/rel.h"
#include "storage/buf_internals.h"
/* UGLY! -- ay */
#include <stdio.h>
/*
* the maximum size of a disk block for any possible installation.
...
...
src/include/storage/ipc.h
View file @
0eac5b0e
...
...
@@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: ipc.h,v 1.
3 1996/10/11 03:56:27
scrappy Exp $
* $Id: ipc.h,v 1.
4 1996/10/19 06:27:12
scrappy Exp $
*
* NOTES
* This file is very architecture-specific. This stuff should actually
...
...
@@ -17,13 +17,11 @@
#ifndef IPC_H
#define IPC_H
#include <sys/types.h>
#ifndef _IPC_
#define _IPC_
#include <sys/ipc.h>
#endif
#include
"c.h"
#include
<sys/types.h>
/*
* Many architectures have support for user-level spinlocks (i.e., an
...
...
@@ -63,7 +61,6 @@ typedef unsigned int slock_t;
#else
/* aix */
#if defined(PORTNAME_alpha)
#include <sys/mman.h>
typedef
msemaphore
slock_t
;
#else
/* alpha */
...
...
@@ -76,7 +73,6 @@ typedef struct { int sem[4]; } slock_t;
#else
/* hpux */
#if defined(PORTNAME_irix5)
#include <abi_mutex.h>
typedef
abilock_t
slock_t
;
#else
/* irix5 */
...
...
@@ -86,7 +82,6 @@ typedef abilock_t slock_t;
* spinlocks.
*/
#undef NEVER
/* definition in cthreads.h conflicts with parse.h */
#include <mach/cthreads.h>
typedef
struct
mutex
slock_t
;
#else
/* next */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment