Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Greenplum
Gpdb
提交
58fdae0d
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,发现更多精彩内容 >>
提交
58fdae0d
编写于
9月 02, 1998
作者:
B
Bruce Momjian
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Fix for indexing problems.
上级
557d295b
变更
7
隐藏空白更改
内联
并排
Showing
7 changed file
with
15 addition
and
33 deletion
+15
-33
src/backend/access/index/indexam.c
src/backend/access/index/indexam.c
+2
-18
src/backend/catalog/indexing.c
src/backend/catalog/indexing.c
+5
-5
src/backend/commands/vacuum.c
src/backend/commands/vacuum.c
+2
-2
src/backend/parser/parse_target.c
src/backend/parser/parse_target.c
+1
-2
src/backend/storage/ipc/ipc.c
src/backend/storage/ipc/ipc.c
+3
-2
src/backend/tcop/pquery.c
src/backend/tcop/pquery.c
+2
-2
src/backend/utils/misc/trace.c
src/backend/utils/misc/trace.c
+0
-2
未找到文件。
src/backend/access/index/indexam.c
浏览文件 @
58fdae0d
...
...
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/access/index/indexam.c,v 1.2
5 1998/09/01 04:26:55
momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/access/index/indexam.c,v 1.2
6 1998/09/02 23:05:21
momjian Exp $
*
* INTERFACE ROUTINES
* index_open - open an index relation by relationId
...
...
@@ -190,23 +190,7 @@ index_insert(Relation relation,
specificResult
=
(
InsertIndexResult
)
fmgr
(
procedure
,
relation
,
datum
,
nulls
,
heap_t_ctid
,
heapRel
,
NULL
);
/* ----------------
* the insert proc is supposed to return a "specific result" and
* this routine has to return a "general result" so after we get
* something back from the insert proc, we allocate a
* "general result" and copy some crap between the two.
*
* As far as I'm concerned all this result shit is needlessly c
* omplicated and should be eliminated. -cim 1/19/91
*
* mao concurs. regardless of how we feel here, however, it is
* important to free memory we don't intend to return to anyone.
* 2/28/91
*
* this "general result" crap is now gone. -ay 3/6/95
* ----------------
*/
/* must be pfree'ed */
return
specificResult
;
}
...
...
src/backend/catalog/indexing.c
浏览文件 @
58fdae0d
...
...
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/catalog/indexing.c,v 1.
29 1998/09/01 16:21:47
momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/catalog/indexing.c,v 1.
30 1998/09/02 23:05:23
momjian Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -109,12 +109,12 @@ CatalogIndexInsert(Relation *idescs,
HeapTuple
index_tup
;
TupleDesc
heapDescriptor
;
Form_pg_index
index_form
;
Datum
datum
;
Datum
datum
[
INDEX_MAX_KEYS
];
char
nulls
[
INDEX_MAX_KEYS
];
int
natts
;
AttrNumber
*
attnumP
;
FuncIndexInfo
finfo
,
*
finfoP
;
char
nulls
[
INDEX_MAX_KEYS
];
int
i
;
heapDescriptor
=
RelationGetDescr
(
heapRelation
);
...
...
@@ -152,11 +152,11 @@ CatalogIndexInsert(Relation *idescs,
(
AttrNumber
*
)
index_form
->
indkey
,
heapTuple
,
heapDescriptor
,
&
datum
,
datum
,
nulls
,
finfoP
);
indexRes
=
index_insert
(
idescs
[
i
],
&
datum
,
nulls
,
indexRes
=
index_insert
(
idescs
[
i
],
datum
,
nulls
,
&
heapTuple
->
t_ctid
,
heapRelation
);
if
(
indexRes
)
pfree
(
indexRes
);
...
...
src/backend/commands/vacuum.c
浏览文件 @
58fdae0d
...
...
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/commands/vacuum.c,v 1.8
0 1998/09/01 04:28:0
5 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/commands/vacuum.c,v 1.8
1 1998/09/02 23:05:2
5 momjian Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -1156,7 +1156,7 @@ failed to add item with len = %u to page %u (free space %u, nusd %u, noff %u)",
iresult
=
index_insert
(
Irel
[
i
],
idatum
,
inulls
,
&
(
newtup
->
t_ctid
)
,
&
newtup
->
t_ctid
,
onerel
);
if
(
iresult
)
pfree
(
iresult
);
...
...
src/backend/parser/parse_target.c
浏览文件 @
58fdae0d
...
...
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/parser/parse_target.c,v 1.2
7 1998/09/01 04:30:3
7 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/parser/parse_target.c,v 1.2
8 1998/09/02 23:05:2
7 momjian Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -467,7 +467,6 @@ MakeTargetEntryAttr(ParseState *pstate,
int
resdomno
;
List
*
attrs
=
att
->
attrs
;
TargetEntry
*
tent
;
Oid
relid
;
attrname
=
strVal
(
lfirst
(
att
->
attrs
));
...
...
src/backend/storage/ipc/ipc.c
浏览文件 @
58fdae0d
...
...
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/storage/ipc/ipc.c,v 1.3
3 1998/09/01 04:31:47
momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/storage/ipc/ipc.c,v 1.3
4 1998/09/02 23:05:30
momjian Exp $
*
* NOTES
*
...
...
@@ -65,7 +65,6 @@ static struct ONEXIT
static
int
on_proc_exit_index
,
on_shmem_exit_index
;
static
void
IpcConfigTip
(
void
);
typedef
struct
_PrivateMemStruct
{
...
...
@@ -739,6 +738,7 @@ LockIsFree(int lockid)
#endif
/* HAS_TEST_AND_SET */
#ifdef NOT_USED
static
void
IpcConfigTip
(
void
)
{
...
...
@@ -746,3 +746,4 @@ IpcConfigTip(void)
fprintf
(
stderr
,
"shared memory or System V IPC semaphore configuration.
\n
"
);
fprintf
(
stderr
,
"See the FAQ for more detailed information
\n
"
);
}
#endif
src/backend/tcop/pquery.c
浏览文件 @
58fdae0d
...
...
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/tcop/pquery.c,v 1.1
8 1998/09/01 04:32:1
4 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/tcop/pquery.c,v 1.1
9 1998/09/02 23:05:3
4 momjian Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -210,7 +210,7 @@ ProcessQueryDesc(QueryDesc *queryDesc)
Query
*
parseTree
;
Plan
*
plan
;
int
operation
;
char
*
tag
;
char
*
tag
=
NULL
;
EState
*
state
;
TupleDesc
attinfo
;
...
...
src/backend/utils/misc/trace.c
浏览文件 @
58fdae0d
...
...
@@ -81,8 +81,6 @@ static char *opt_names[] = {
*/
int
pg_options
[
NUM_PG_OPTIONS
]
=
{
0
};
static
int
openlog_done
=
0
;
/*
* Print a timestamp and a message to stdout if the trace flag
* indexed by the flag value is set.
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录