Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Greenplum
Gpdb
提交
323877de
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,发现更多精彩内容 >>
提交
323877de
编写于
1月 11, 2018
作者:
H
Heikki Linnakangas
提交者:
Xin Zhang
1月 12, 2018
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Fix references to filespaces in pg_upgrade, and re-enable it in ICW.
上级
28917586
变更
4
显示空白变更内容
内联
并排
Showing
4 changed file
with
2 addition
and
17 deletion
+2
-17
GNUmakefile.in
GNUmakefile.in
+1
-2
contrib/pg_upgrade/aotable.c
contrib/pg_upgrade/aotable.c
+1
-7
contrib/pg_upgrade/function.c
contrib/pg_upgrade/function.c
+0
-6
contrib/pg_upgrade_support/pg_upgrade_support.c
contrib/pg_upgrade_support/pg_upgrade_support.c
+0
-2
未找到文件。
GNUmakefile.in
浏览文件 @
323877de
...
...
@@ -162,8 +162,7 @@ installcheck-world:
# Verify the filesystem objects are consistent between primary and mirror
$(MAKE) -C contrib/gp_replica_check installcheck
# WALREP_FIXME: pg_upgrade doesn't work yet?
#$(MAKE) -C contrib/pg_upgrade check
$(MAKE) -C contrib/pg_upgrade check
installcheck-resgroup:
$(MAKE) -C src/test/isolation2 $@
...
...
contrib/pg_upgrade/aotable.c
浏览文件 @
323877de
...
...
@@ -168,7 +168,7 @@ restore_aosegment_tables(migratorContext *ctx)
prep_status
(
ctx
,
"Restoring append-only auxiliary tables in new cluster"
);
/*
* Rebuilding
gp_relation_node
can potentially take some time in a large
* Rebuilding
AO auxiliary tables
can potentially take some time in a large
* cluster so swap out the current progress file before starting so that
* the user can see what's going on.
*/
...
...
@@ -188,12 +188,6 @@ restore_aosegment_tables(migratorContext *ctx)
PQclear
(
executeQueryOrDie
(
ctx
,
conn
,
"set allow_system_table_mods='dml'"
));
/*
* There are further safeguards for gp_relation_node. Bypass those too.
*/
PQclear
(
executeQueryOrDie
(
ctx
,
conn
,
"set gp_permit_relation_node_change = on"
));
for
(
relnum
=
0
;
relnum
<
olddb
->
rel_arr
.
nrels
;
relnum
++
)
restore_aosegment_table
(
ctx
,
conn
,
&
olddb
->
rel_arr
.
rels
[
relnum
]);
...
...
contrib/pg_upgrade/function.c
浏览文件 @
323877de
...
...
@@ -58,12 +58,6 @@ install_system_functions_internal(migratorContext *ctx, char *dbname)
"RETURNS VOID "
"AS '$libdir/pg_upgrade_support' "
"LANGUAGE C STRICT;"
));
PQclear
(
executeQueryOrDie
(
ctx
,
conn
,
"CREATE OR REPLACE FUNCTION "
"binary_upgrade.preassign_filespace_oid(OID, TEXT) "
"RETURNS VOID "
"AS '$libdir/pg_upgrade_support' "
"LANGUAGE C STRICT;"
));
PQclear
(
executeQueryOrDie
(
ctx
,
conn
,
"CREATE OR REPLACE FUNCTION "
"binary_upgrade.preassign_tablespace_oid(OID, TEXT) "
...
...
contrib/pg_upgrade_support/pg_upgrade_support.c
浏览文件 @
323877de
...
...
@@ -145,7 +145,6 @@ create_empty_extension(PG_FUNCTION_ARGS)
Datum
preassign_type_oid
(
PG_FUNCTION_ARGS
);
Datum
preassign_arraytype_oid
(
PG_FUNCTION_ARGS
);
Datum
preassign_extprotocol_oid
(
PG_FUNCTION_ARGS
);
Datum
preassign_filespace_oid
(
PG_FUNCTION_ARGS
);
Datum
preassign_tablespace_oid
(
PG_FUNCTION_ARGS
);
Datum
preassign_opclass_oid
(
PG_FUNCTION_ARGS
);
Datum
preassign_conversion_oid
(
PG_FUNCTION_ARGS
);
...
...
@@ -177,7 +176,6 @@ Datum preassign_user_mapping_oid(PG_FUNCTION_ARGS);
PG_FUNCTION_INFO_V1
(
preassign_type_oid
);
PG_FUNCTION_INFO_V1
(
preassign_arraytype_oid
);
PG_FUNCTION_INFO_V1
(
preassign_extprotocol_oid
);
PG_FUNCTION_INFO_V1
(
preassign_filespace_oid
);
PG_FUNCTION_INFO_V1
(
preassign_tablespace_oid
);
PG_FUNCTION_INFO_V1
(
preassign_opclass_oid
);
PG_FUNCTION_INFO_V1
(
preassign_conversion_oid
);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录