我要编译openGauss-server 5.0.0版本,请问应该选v5.0.0的tag呢?还是分支origin/5.0.0 ?
这两者在管理维护上有啥区别?
v5.0.0 tag,标记了5.0.0发布时间点那个commitid。 5.0.0属于release版本,3年的生命周期。在维护周期内,还会在5.0.0分支上发布若干补丁版本,5.0.1, 5.0.2等,这些版本不会单独拉分支,会在发布时间点通过tag标记。
目前刚发布,v5.0.0和 origin/5.0.0没有太大区别。 随着后面持续维护, origin/5.0.0会包含后续的补丁支持(如5.0.1,5.0.2等)
zhang_xb 2578876417@qq.com
------------------ 原始邮件 ------------------ 发件人: "qinhao@newland.com.cn" <qinhao@newland.com.cn>; 发送时间: 2023年4月7日(星期五) 上午9:28 收件人: "community"<community@opengauss.org>;
主题: [Community] 5.0.0版本编译问题
我要编译openGauss-server 5.0.0版本,请问应该选v5.0.0的tag呢?还是分支origin/5.0.0 ?
这两者在管理维护上有啥区别? _______________________________________________ Community mailing list -- community@opengauss.org To unsubscribe send an email to community-leave@opengauss.org
看过文档,但是文档里说的很少,也不清楚。
1、这个插件怎么安装?如果从源码编译opengauss,是不是就已经有了dolphin插件?需不需要执行create extension?
2、这个插件怎么使用?有没有什么例子?
1. 如何安装,官网文档有介绍: https://docs.opengauss.org/zh/docs/5.0.0/docs/ExtensionReference/dolphin-Ext... 2. 安装后没有特别的使用方式,自然的使用sql即可,比如 SELECT lcase('TOM'); 这条SQL,在非B兼容性数据库就执行会报错,在B兼容性数据库+dolphin插件的场景下可以执行成功。至于支持哪些SQL可参考文档: https://docs.opengauss.org/zh/docs/5.0.0/docs/ExtensionReference/dolphin%E8%...
-----邮件原件----- 发件人: qinhao@newland.com.cn qinhao@newland.com.cn 发送时间: 2023年4月24日 11:50 收件人: community community@opengauss.org 主题: [Community] 关于 dolphin 插件的几个问题
看过文档,但是文档里说的很少,也不清楚。
1、这个插件怎么安装?如果从源码编译opengauss,是不是就已经有了dolphin插件?需不需要执行create extension?
2、这个插件怎么使用?有没有什么例子? _______________________________________________ Community mailing list -- community@opengauss.org To unsubscribe send an email to community-leave@opengauss.org
mysql_fdw.cpp:400:31: error: invalid conversion from ‘ForeignScan* (*)(PlannerInfo*, RelOptInfo*, Oid, ForeignPath*, List*, List*) {aka ForeignScan* (*)(PlannerInfo*, RelOptInfo*, unsigned int, ForeignPath*, List*, List*)}’ to ‘GetForeignPlan_function {aka ForeignScan* (*)(PlannerInfo*, RelOptInfo*, unsigned int, ForeignPath*, List*, List*, Plan*)}’ [-fpermissive] fdwroutine->GetForeignPlan = mysqlGetForeignPlan; ^~~~~~~~~~~~~~~~~~~ mysql_fdw.cpp: In function ‘void mysqlGetForeignRelSize(PlannerInfo*, RelOptInfo*, Oid)’: mysql_fdw.cpp:784:35: error: ‘RelOptInfo {aka struct RelOptInfo}’ has no member named ‘reltargetlist’; did you mean ‘reltarget’? pull_varattnos((Node *) baserel->reltargetlist, baserel->relid, ^~~~~~~~~~~~~ reltarget mysql_fdw.cpp:802:35: error: ‘RelOptInfo {aka struct RelOptInfo}’ has no member named ‘reltargetlist’; did you mean ‘reltarget’? pull_varattnos((Node *) baserel->reltargetlist, baserel->relid, ^~~~~~~~~~~~~ reltarget mysql_fdw.cpp: In function ‘void mysqlGetForeignPaths(PlannerInfo*, RelOptInfo*, Oid)’: mysql_fdw.cpp:982:15: error: too few arguments to function ‘ForeignPath* create_foreignscan_path(PlannerInfo*, RelOptInfo*, Cost, Cost, List*, Relids, Path*, List*, int)’ NULL)); /* no fdw_private data */ ^ In file included from mysql_fdw.cpp:42:0: /mnt/disk01/OpenGauss/openGauss-server/src/include/optimizer/pathnode.h:86:21: note: declared here extern ForeignPath* create_foreignscan_path(PlannerInfo* root, RelOptInfo* rel, Cost startup_cost, Cost total_cost, ^~~~~~~~~~~~~~~~~~~~~~~ mysql_fdw.cpp: In function ‘ForeignScan* mysqlGetForeignPlan(PlannerInfo*, RelOptInfo*, Oid, ForeignPath*, List*, List*)’: mysql_fdw.cpp:1105:19: error: too few arguments to function ‘ForeignScan* make_foreignscan(List*, List*, Index, List*, List*, List*, List*, Plan*, RemoteQueryExecType)’ fdw_private); ^ In file included from mysql_fdw.cpp:43:0: /mnt/disk01/OpenGauss/openGauss-server/src/include/optimizer/planmain.h:73:21: note: declared here extern ForeignScan* make_foreignscan(List* qptlist, List* qpqual, Index scanrelid, List* fdw_exprs, List* fdw_private, ^~~~~~~~~~~~~~~~ make[4]: *** [<builtin>: mysql_fdw.o] Error 1 make[4]: Leaving directory '/mnt/disk01/OpenGauss/openGauss-third_party_binarylibs_5.0.0/kernel/dependency/mysql_fdw' make[3]: *** [Makefile:33: mysql_fdw_target] Error 2 make[3]: Leaving directory '/mnt/disk01/OpenGauss/openGauss-server/contrib/mysql_fdw' make[2]: *** [common.mk:44: ../../contrib/mysql_fdw-recursive] Error 2 make[2]: Leaving directory '/mnt/disk01/OpenGauss/openGauss-server/src/gausskernel' make[1]: *** [Makefile:68: all-gausskernel-recurse] Error 2 make[1]: Leaving directory '/mnt/disk01/OpenGauss/openGauss-server/src' make: *** [GNUmakefile:12: all-src-recurse] Error 2
尝试用 oracle_fdw 连接oracle, opengauss版本是5.0.0,执行create user mapping时有个报错:
openGauss=# create extension oracle_fdw; CREATE EXTENSION openGauss=# create server oracle_test foreign data wrapper oracle_fdw options(dbserver 'paastest/Paas1015@172.32.150.13:1521/nlpass01'); CREATE SERVER openGauss=# create user mapping for postgres server oracle_test options (user 'paastest', password 'Paas1015'); ERROR: No key file usermapping.key.cipher HINT: Please create usermapping.key.cipher file with gs_guc and gs_ssh, such as :gs_ssh -c "gs_guc generate -S XXX -D $GAUSSHOME/bin -o usermapping" openGauss=# openGauss=# openGauss=#
看不懂是什么意思,文档里也没找到,也没有相关例子,请问这种情况是要求怎样配置?
报错提示信息已经说明: Please create usermapping.key.cipher file with gs_guc and gs_ssh, such as :gs_ssh -c "gs_guc generate -S XXX -D $GAUSSHOME/bin -o usermapping" 文档也有说明: https://docs.opengauss.org/zh/docs/5.0.0/docs/SQLReference/CREATE-USER-MAPPI...
如果是单机没有OM的,去掉 gs_ssh,只要 gs_guc generate -S XXX -D $GAUSSHOME/bin -o usermapping 即可。
-----邮件原件----- 发件人: qinhao@newland.com.cn qinhao@newland.com.cn 发送时间: 2023年4月26日 17:01 收件人: community community@opengauss.org 主题: [Community] oracle_fdw 连接oracle问题
尝试用 oracle_fdw 连接oracle, opengauss版本是5.0.0,执行create user mapping时有个报错:
openGauss=# create extension oracle_fdw; CREATE EXTENSION openGauss=# create server oracle_test foreign data wrapper oracle_fdw options(dbserver 'paastest/Paas1015@172.32.150.13:1521/nlpass01'); CREATE SERVER openGauss=# create user mapping for postgres server oracle_test options (user 'paastest', password 'Paas1015'); ERROR: No key file usermapping.key.cipher HINT: Please create usermapping.key.cipher file with gs_guc and gs_ssh, such as :gs_ssh -c "gs_guc generate -S XXX -D $GAUSSHOME/bin -o usermapping" openGauss=# openGauss=# openGauss=#
看不懂是什么意思,文档里也没找到,也没有相关例子,请问这种情况是要求怎样配置? _______________________________________________ Community mailing list -- community@opengauss.org To unsubscribe send an email to community-leave@opengauss.org