简体   繁体   English

使用 PostGis 安装 Postgres-XL

[英]Installing Postgres-XL with PostGis

Problem : I am trying to install Postgres-XL with PostGis enabled on a 3 node cluster.问题:我正在尝试在 3 节点集群上安装启用 PostGis 的 Postgres-XL。 I managed to install Postgres-XL on 3 nodes with 1 GTM, 1 Co-ordinator & 1 Data Node.我设法在 3 个节点上安装了 Postgres-XL,其中包含 1 个 GTM、1 个协调器和 1 个数据节点。 Now the problem is when I try to install the PostGis extension on DataNode it installs successfully but when I try to install it on Coordinator it gives me the following error:现在的问题是当我尝试在 DataNode 上安装 PostGis 扩展时它安装成功但是当我尝试在 Coordinator 上安装它时它给了我以下错误:

[postgres@test_pg_coord postgis-2.3.2]$ psql -d test11 -q -c 'CREATE EXTENSION postgis;' -p 30001
ERROR:  type "gidx" does not exist
CONTEXT:  SQL statement "CREATE OPERATOR && (
  LEFTARG    = gidx,
  RIGHTARG   = geography,
  PROCEDURE  = overlaps_geog,
  COMMUTATOR = &&
)"
PL/pgSQL function inline_code_block line 8 at SQL statement

Do I need to just install PostGis on all datanodes & Coordinator or just datanodes?我需要在所有数据节点和协调器上安装 PostGis 还是只在数据节点上安装?

Any help on the error and / or above question would be appreciated.对错误和/或上述问题的任何帮助将不胜感激。

We managed to get it working with PostGis 2.3.1 .我们设法让它与PostGis 2.3.1一起工作。 So the issue is with PostGis 2.3.2 version.所以问题出在PostGis 2.3.2版本上。

I think the new version PostGis 2.3.2 is still not compatible with Postgres-XL.我认为新版本的PostGis 2.3.2仍然与 Postgres-XL 不兼容。

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

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