gpt4 book ai didi

sql - 错误 : could not access file "$libdir/postgis-2.0" postgresapp

转载 作者:行者123 更新时间:2023-11-29 13:33:31 25 4
gpt4 key购买 nike

我正在运行 postgresapp 9.2.4.3 和 postgis 并尝试将几何列添加到表中。 postgis 扩展正在运行。

当我运行时:

SELECT AddGeometryColumn('public'::varchar,'gloutline'::varchar,'geom'::varchar,'4326','MULTIPOLY ON','2');

我收到以下错误:

ERROR:  could not access file "$libdir/postgis-2.0": No such file or directory
LINE 1: ALTER TABLE public.gloutline ADD COLUMN geom geometry(MultiP...
QUERY: ALTER TABLE public.gloutline ADD COLUMN geom geometry(MultiPolygon, 4326)
CONTEXT: PL/pgSQL function addgeometrycolumn(character varying,character varying,character varying,character varying,integer,character varying,integer,boolean) line 110 at EXECUTE statement
SQL statement "SELECT AddGeometryColumn('',$1,$2,$3,$4,$5,$6,$7)" PL/pgSQL function addgeometrycolumn(character varying,character varying,character varying,integer,character varying,integer,boolean) line 5 at SQL statement

最佳答案

重新安装包含应用程序支持文件的 postgress.app 解决了这个问题。

关于sql - 错误 : could not access file "$libdir/postgis-2.0" postgresapp,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18499728/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com