【发布时间】:2012-01-17 13:32:29
【问题描述】:
我有 Postgres 版本 8.4.8
select version();
PostgreSQL 8.4.8 on i686-pc-linux-gnu, compiled by GCC gcc-4.4.real (Ubuntu/Linaro 4.4.4-14ubuntu5) 4.4.5, 32-bit
通过突触包管理器(postgis 和 postgresql-8.4-postgis)安装了 Postgis,一切似乎都很顺利。然后当我尝试验证 Postgis 版本时,情况并不好。这两个都给出了相同的错误。
SELECT PostGIS_version();
SELECT PostGIS_full_version();
ERROR: function postgis_full_version() does not exist
LINE 1: SELECT PostGIS_full_version();
HINT: No function matches the given name and argument types. You might need to add explicit type casts.
包管理器声称已安装 Postgis。如何验证安装是否成功?
【问题讨论】:
-
“如果您的问题通常涵盖software tools commonly used by programmers,那么您来对地方了”?
-
@BradKoch 这听起来更像是数据库管理,而不是程序员常用的工具。
-
从经验上讲,这绝对是在开发中使用PostGIS时比较常见的一个常见问题。它可以合理地成为至少 3 个不同 SE 网站的主题。
标签: postgresql postgis