Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Greenplum
Gpdb
提交
11ac1bf2
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,发现更多精彩内容 >>
提交
11ac1bf2
编写于
8月 20, 1997
作者:
B
Bruce Momjian
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
More NOT_USEDs
上级
36c9c968
变更
9
显示空白变更内容
内联
并排
Showing
9 changed file
with
34 addition
and
47 deletion
+34
-47
src/backend/access/nbtree/nbtinsert.c
src/backend/access/nbtree/nbtinsert.c
+2
-5
src/backend/executor/execUtils.c
src/backend/executor/execUtils.c
+2
-2
src/backend/executor/nodeMaterial.c
src/backend/executor/nodeMaterial.c
+2
-2
src/backend/optimizer/prep/prepqual.c
src/backend/optimizer/prep/prepqual.c
+2
-2
src/backend/optimizer/util/internal.c
src/backend/optimizer/util/internal.c
+2
-2
src/backend/optimizer/util/tlist.c
src/backend/optimizer/util/tlist.c
+2
-2
src/backend/utils/cache/relcache.c
src/backend/utils/cache/relcache.c
+19
-24
src/include/parser/parse_query.h
src/include/parser/parse_query.h
+1
-6
src/include/utils/memutils.h
src/include/utils/memutils.h
+2
-2
未找到文件。
src/backend/access/nbtree/nbtinsert.c
浏览文件 @
11ac1bf2
...
...
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/access/nbtree/nbtinsert.c,v 1.1
6 1997/06/10 07:28:47 vadim
Exp $
* $Header: /cvsroot/pgsql/src/backend/access/nbtree/nbtinsert.c,v 1.1
7 1997/08/20 14:53:15 momjian
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -35,9 +35,6 @@ static OffsetNumber _bt_pgaddtup(Relation rel, Buffer buf, int keysz, ScanKey it
static
bool
_bt_goesonpg
(
Relation
rel
,
Buffer
buf
,
Size
keysz
,
ScanKey
scankey
,
BTItem
afteritem
);
static
void
_bt_updateitem
(
Relation
rel
,
Size
keysz
,
Buffer
buf
,
BTItem
oldItem
,
BTItem
newItem
);
static
bool
_bt_isequal
(
TupleDesc
itupdesc
,
Page
page
,
OffsetNumber
offnum
,
int
keysz
,
ScanKey
scankey
);
#if 0
static InsertIndexResult _bt_shift (Relation rel, Buffer buf, BTStack stack, int keysz, ScanKey scankey, BTItem btitem, BTItem hikey);
#endif
/*
* _bt_doinsert() -- Handle insertion of a single btitem in the tree.
...
...
@@ -1449,7 +1446,7 @@ _bt_isequal (TupleDesc itupdesc, Page page, OffsetNumber offnum,
return
(
true
);
}
#if
0
#if
def NOT_USED
/*
* _bt_shift - insert btitem on the passed page after shifting page
* to the right in the tree.
...
...
src/backend/executor/execUtils.c
浏览文件 @
11ac1bf2
...
...
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/executor/execUtils.c,v 1.1
1 1997/08/19 21:31:06
momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/executor/execUtils.c,v 1.1
2 1997/08/20 14:53:20
momjian Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -467,7 +467,7 @@ ExecAssignScanTypeFromOuterPlan(Plan *node, CommonScanState *csstate)
* to share common code.
* ----------------
*/
#if
0
#if
def NOT_USED
void
ExecSetTypeInfo
(
int
index
,
TupleDesc
typeInfo
,
...
...
src/backend/executor/nodeMaterial.c
浏览文件 @
11ac1bf2
...
...
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/executor/nodeMaterial.c,v 1.
5 1996/11/08 00:45:58 scrappy
Exp $
* $Header: /cvsroot/pgsql/src/backend/executor/nodeMaterial.c,v 1.
6 1997/08/20 14:53:24 momjian
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -336,7 +336,7 @@ ExecEndMaterial(Material *node)
ExecClearTuple
(
matstate
->
csstate
.
css_ScanTupleSlot
);
}
#if
0
/* not used */
#if
def NOT_USED
/* not used */
/* ----------------------------------------------------------------
* ExecMaterialMarkPos
* ----------------------------------------------------------------
...
...
src/backend/optimizer/prep/prepqual.c
浏览文件 @
11ac1bf2
...
...
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/optimizer/prep/prepqual.c,v 1.
2 1996/10/31 10:59:27 scrappy
Exp $
* $Header: /cvsroot/pgsql/src/backend/optimizer/prep/prepqual.c,v 1.
3 1997/08/20 14:53:30 momjian
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -543,7 +543,7 @@ remove_ands(Expr *qual)
* are referenced in the target list.
*
*/
#if
0
#if
def NOT_USED
static
List
*
update_relations
(
List
*
tlist
)
{
...
...
src/backend/optimizer/util/internal.c
浏览文件 @
11ac1bf2
...
...
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/optimizer/util/Attic/internal.c,v 1.
2 1996/10/31 10:59:39 scrappy
Exp $
* $Header: /cvsroot/pgsql/src/backend/optimizer/util/Attic/internal.c,v 1.
3 1997/08/20 14:53:37 momjian
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -31,7 +31,7 @@
#include "nodes/primnodes.h"
#include "utils/palloc.h"
#if
0
#if
def NOT_USED
/*****************************************************************************
*
*****************************************************************************/
...
...
src/backend/optimizer/util/tlist.c
浏览文件 @
11ac1bf2
...
...
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/optimizer/util/tlist.c,v 1.
3 1997/08/19 21:32:08
momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/optimizer/util/tlist.c,v 1.
4 1997/08/20 14:53:47
momjian Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -532,7 +532,7 @@ get_expr(TargetEntry *tle)
* append the group attribute to the target list if it's not already
* in there.
*/
#if
0
#if
def NOT_USED
void
AddGroupAttrToTlist
(
List
*
tlist
,
List
*
grpCl
)
{
...
...
src/backend/utils/cache/relcache.c
浏览文件 @
11ac1bf2
...
...
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/cache/relcache.c,v 1.1
5 1997/08/19 21:35:13
momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/cache/relcache.c,v 1.1
6 1997/08/20 14:54:07
momjian Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -90,6 +90,22 @@ static void RelationFlushRelation(Relation *relationPtr,
static
Relation
RelationNameCacheGetRelation
(
char
*
relationName
);
static
void
init_irels
(
void
);
static
void
write_irels
(
void
);
/* non-export function prototypes */
static
void
formrdesc
(
char
*
relationName
,
u_int
natts
,
FormData_pg_attribute
att
[]);
static
HeapTuple
ScanPgRelation
(
RelationBuildDescInfo
buildinfo
);
static
HeapTuple
scan_pg_rel_seq
(
RelationBuildDescInfo
buildinfo
);
static
HeapTuple
scan_pg_rel_ind
(
RelationBuildDescInfo
buildinfo
);
static
Relation
AllocateRelationDesc
(
u_int
natts
,
Form_pg_class
relp
);
static
void
RelationBuildTupleDesc
(
RelationBuildDescInfo
buildinfo
,
Relation
relation
,
AttributeTupleForm
attp
,
u_int
natts
);
static
void
build_tupdesc_seq
(
RelationBuildDescInfo
buildinfo
,
Relation
relation
,
AttributeTupleForm
attp
,
u_int
natts
);
static
void
build_tupdesc_ind
(
RelationBuildDescInfo
buildinfo
,
Relation
relation
,
AttributeTupleForm
attp
,
u_int
natts
);
static
Relation
RelationBuildDesc
(
RelationBuildDescInfo
buildinfo
);
static
void
IndexedAccessMethodInitialize
(
Relation
relation
);
/* ----------------
* defines
...
...
@@ -238,27 +254,6 @@ typedef struct relnamecacheent {
} \
}
/* non-export function prototypes */
static
void
formrdesc
(
char
*
relationName
,
u_int
natts
,
FormData_pg_attribute
att
[]);
#if 0 /* See comments at line 1304 */
static void RelationFlushIndexes(Relation *r, Oid accessMethodId);
#endif
static
HeapTuple
ScanPgRelation
(
RelationBuildDescInfo
buildinfo
);
static
HeapTuple
scan_pg_rel_seq
(
RelationBuildDescInfo
buildinfo
);
static
HeapTuple
scan_pg_rel_ind
(
RelationBuildDescInfo
buildinfo
);
static
Relation
AllocateRelationDesc
(
u_int
natts
,
Form_pg_class
relp
);
static
void
RelationBuildTupleDesc
(
RelationBuildDescInfo
buildinfo
,
Relation
relation
,
AttributeTupleForm
attp
,
u_int
natts
);
static
void
build_tupdesc_seq
(
RelationBuildDescInfo
buildinfo
,
Relation
relation
,
AttributeTupleForm
attp
,
u_int
natts
);
static
void
build_tupdesc_ind
(
RelationBuildDescInfo
buildinfo
,
Relation
relation
,
AttributeTupleForm
attp
,
u_int
natts
);
static
Relation
RelationBuildDesc
(
RelationBuildDescInfo
buildinfo
);
static
void
IndexedAccessMethodInitialize
(
Relation
relation
);
/*
* newlyCreatedRelns -
* relations created during this transaction. We need to keep track of
...
...
@@ -273,7 +268,7 @@ static List *newlyCreatedRelns = NULL;
*/
#if
0
/* XXX This doesn't seem to be used anywhere */
#if
def NOT_USED
/* XXX This doesn't seem to be used anywhere */
/* --------------------------------
* BuildDescInfoError returns a string appropriate to
* the buildinfo passed to it
...
...
@@ -1351,7 +1346,7 @@ RelationIdInvalidateRelationCacheByRelationId(Oid relationId)
}
}
#if
0
/* See comments at line 1304 */
#if
def NOT_USED
/* See comments at line 1304 */
/* --------------------------------
* RelationIdInvalidateRelationCacheByAccessMethodId
*
...
...
src/include/parser/parse_query.h
浏览文件 @
11ac1bf2
...
...
@@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: parse_query.h,v 1.
8 1997/08/19 21:39:37
momjian Exp $
* $Id: parse_query.h,v 1.
9 1997/08/20 14:54:26
momjian Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -58,11 +58,6 @@ extern void handleTargetColname(ParseState *pstate, char **resname,
* analyze.c
*/
#if 0
extern List *p_rtable;
extern int NumLevels;
#endif
Oid
exprType
(
Node
*
expr
);
QueryTreeList
*
parse_analyze
(
List
*
querytree_list
);
...
...
src/include/utils/memutils.h
浏览文件 @
11ac1bf2
...
...
@@ -15,7 +15,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: memutils.h,v 1.
7 1997/08/19 21:40:43
momjian Exp $
* $Id: memutils.h,v 1.
8 1997/08/20 14:54:35
momjian Exp $
*
* NOTES
* some of the information in this file will be moved to
...
...
@@ -27,7 +27,7 @@
#define MEMUTILS_H
#if
0
#if
def NOT_USED
/*****************************************************************************
* align.h - alignment macros *
****************************************************************************
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录