简体   繁体   English

带有postgres-xl的zombodb:“ zombodb.so:未定义的符号:session_auth_is_superuser”

[英]zombodb with postgres-xl: “zombodb.so: undefined symbol: session_auth_is_superuser”

I have a database cluster based on Postgres-xl 10. I have to create a search index by ZomboDB extension. 我有一个基于Postgres-xl 10的数据库集群。我必须通过ZomboDB扩展来创建搜索索引。 I copied all extension files into /usr/local/pgsql/lib other than standard path of postgresql /usr/lib/pgsql/lib . 我将所有扩展文件复制到/usr/local/pgsql/lib而不是postgresql /usr/lib/pgsql/lib标准路径。 Because I checked that postgres-xl uses different $libdir from postgresql. 因为我检查了postgres-xl是否使用与postgresql不同的$libdir

When CREATE EXTENSION zombodb; CREATE EXTENSION zombodb; , it gives error: ,它给出了错误:

ERROR: could not load library "/usr/local/pgsql/lib/zombodb.so": /usr/local/pgsql/lib/zombodb.so: undefined symbol: session_auth_is_superuser 错误:无法加载库“ /usr/local/pgsql/lib/zombodb.so”:/usr/local/pgsql/lib/zombodb.so:未定义符号:session_auth_is_superuser

SQL state: XX000 SQL状态:XX000

How can I overcome this problem? 我该如何克服这个问题?

You can't use plugins or extensions for standard Postgres index's on Postgres-XL. 您不能在Postgres-XL上使用标准Postgres索引的插件或扩展。

Posgres-XL is a distributed database. Posgres-XL是一个分布式数据库。 ie It is meant to have the data broken up over different nodes which means it's index's work in a completely different mannor with different settings requirements, and have to work across the coordinator nodes and the global transaction managers. 即,这意味着将数据分解到不同的节点上,这意味着索引的工作方式完全不同,设置要求也不同,并且必须跨协调器节点和全局事务管理器工作。

Unless this vender provides specific libs for Postgres-XL it is not going to work. 除非该供应商为Postgres-XL提供了特定的库,否则它将无法正常工作。 Even if you could find a way to trick it into working it would be a REALLY bad idea. 即使您可以找到一种诱使它起作用的方法,这也是一个非常糟糕的主意。 It could fail at any time because that software has never been tested to work like that. 它可能随时失败,因为该软件从未经过过测试,无法像这样工作。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM