Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Greenplum
Gpdb
提交
043cebce
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,发现更多精彩内容 >>
提交
043cebce
编写于
11月 21, 1997
作者:
B
Bruce Momjian
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
More archive cleanup.
上级
629e2728
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
5 addition
and
28 deletion
+5
-28
src/backend/storage/large_object/inv_api.c
src/backend/storage/large_object/inv_api.c
+2
-11
src/backend/tcop/utility.c
src/backend/tcop/utility.c
+1
-2
src/bin/pg_dump/common.c
src/bin/pg_dump/common.c
+1
-12
src/include/libpq/libpq-fs.h
src/include/libpq/libpq-fs.h
+1
-3
未找到文件。
src/backend/storage/large_object/inv_api.c
浏览文件 @
043cebce
...
...
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/storage/large_object/inv_api.c,v 1.2
1 1997/11/21 18:11:12
momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/storage/large_object/inv_api.c,v 1.2
2 1997/11/21 19:02:37
momjian Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -79,7 +79,7 @@ static int _inv_getsize(Relation hreln, TupleDesc hdesc, Relation ireln);
* inv_create -- create a new large object.
*
* Arguments:
* flags --
storage manager to use, archive mode, etc.
* flags --
was archive, smgr
*
* Returns:
* large object descriptor, appropriately filled in.
...
...
@@ -91,21 +91,12 @@ inv_create(int flags)
LargeObjectDesc
*
retval
;
Relation
r
;
Relation
indr
;
int
smgr
;
char
archchar
;
TupleDesc
tupdesc
;
AttrNumber
attNums
[
1
];
Oid
classObjectId
[
1
];
char
objname
[
NAMEDATALEN
];
char
indname
[
NAMEDATALEN
];
/* parse flags */
smgr
=
flags
&
INV_SMGRMASK
;
if
(
flags
&
INV_ARCHIVE
)
archchar
=
'h'
;
else
archchar
=
'n'
;
/*
* add one here since the pg_class tuple created will have the next
* oid and we want to have the relation name to correspond to the
...
...
src/backend/tcop/utility.c
浏览文件 @
043cebce
...
...
@@ -9,7 +9,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/tcop/utility.c,v 1.
29 1997/11/21 18:11:16
momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/tcop/utility.c,v 1.
30 1997/11/21 19:02:42
momjian Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -391,7 +391,6 @@ ProcessUtility(Node * parsetree,
commandTag
=
"CREATE"
;
CHECK_IF_ABORTED
();
/* XXX no support for ARCHIVE indices, yet */
DefineIndex
(
stmt
->
relname
,
/* relation name */
stmt
->
idxname
,
/* index name */
stmt
->
accessMethod
,
/* am name */
...
...
src/bin/pg_dump/common.c
浏览文件 @
043cebce
...
...
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/bin/pg_dump/common.c,v 1.1
8 1997/10/30 16:47:57 thomas
Exp $
* $Header: /cvsroot/pgsql/src/bin/pg_dump/common.c,v 1.1
9 1997/11/21 19:02:50 momjian
Exp $
*
* Modifications - 6/12/96 - dave@bensoft.com - version 1.13.dhb.2
*
...
...
@@ -469,17 +469,6 @@ findFuncByName(FuncInfo *finfo, int numFuncs, const char *name)
return
-
1
;
}
/*
* isArchiveName
*
* returns true if the relation name is an archive name, false otherwise
*/
int
isArchiveName
(
const
char
*
relname
)
{
return
(
strlen
(
relname
)
>
1
&&
relname
[
1
]
==
','
);
}
/*
* fmtId
*
...
...
src/include/libpq/libpq-fs.h
浏览文件 @
043cebce
...
...
@@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: libpq-fs.h,v 1.
5 1997/09/08 02:37:07
momjian Exp $
* $Id: libpq-fs.h,v 1.
6 1997/11/21 19:02:59
momjian Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -88,8 +88,6 @@ struct pgdirent
* manager to be used, and the high sixteen bits for flags.
*/
#define INV_SMGRMASK 0x0000ffff
#define INV_ARCHIVE 0x00010000
#define INV_WRITE 0x00020000
#define INV_READ 0x00040000
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录