Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Greenplum
Gpdb
提交
0eac5b0e
G
Gpdb
项目概览
Greenplum
/
Gpdb
通知
7
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
G
Gpdb
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
0eac5b0e
编写于
10月 19, 1996
作者:
M
Marc G. Fournier
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Welp, another subdirectory cleaned out of redundant/unused #include
files
上级
e77f64af
变更
11
隐藏空白更改
内联
并排
Showing
11 changed file
with
34 addition
and
92 deletion
+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
未找到文件。
src/backend/access/gist/gist.c
浏览文件 @
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
浏览文件 @
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
浏览文件 @
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
浏览文件 @
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
浏览文件 @
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
浏览文件 @
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
浏览文件 @
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
浏览文件 @
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
浏览文件 @
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
浏览文件 @
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
浏览文件 @
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 */
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录