##
Rocky Linux 9.4 中PostgreSQL 16.3编译安装PostGIS 3.4.2
1、插件验证
[root@pgdb01 ~]# cat /etc/rocky-release
Rocky Linux release 9.4 (Blue Onyx)
[root@pgdb01 ~]# su - postgres
[postgres@pgdb01:/home/postgres]$psql pgis
psql (16.3)
Type "help" for help.
pgis=# SELECT name, default_version,installed_version
FROM pg_available_extensions WHERE name LIKE 'postgis%' or name LIKE 'address%';
name | default_version | installed_version
------------------------------+-----------------+-------------------
postgis_raster | 3.4.2 | 3.4.2
postgis_tiger_geocoder | 3.4.2 | 3.4.2
postgis_topology | 3.4.2 | 3.4.2
address_standardizer | 3.4.2 | 3.4.2
postgis_sfcgal | 3.4.2 | 3.4.2
address_standardizer_data_us | 3.4.2 | 3.4.2
postgis | 3.4.2 | 3.4.2
(7 rows)
pgis=# \dx
List of installed extensions
Name | Version | Schema | Description
------------------------------+---------+------------+---------------------------------------------------------------------------------------------------------------------
address_standardizer | 3.4.2 | public | Used to parse an address into constituent elements. Generally used to support geocoding address normalization step.
address_standardizer_data_us | 3.4.2 | public | Address Standardizer US dataset example
fuzzystrmatch | 1.2 | public | determine similarities and distance between strings
plpgsql | 1.0 | pg_catalog | PL/pgSQL procedural language
postgis | 3.4.2 | public | PostGIS geometry and geography spatial types and functions
postgis_raster | 3.4.2 | public | PostGIS raster types and functions
postgis_sfcgal | 3.4.2 | public | PostGIS SFCGAL functions
postgis_tiger_geocoder | 3.4.2 | tiger | PostGIS tiger geocoder and reverse geocoder
postgis_topology | 3.4.2 | topology | PostGIS topology spatial types and functions
(9 rows)
2、数据验证

3、总结
在Rocky Linux 9.4 中PostgreSQL 16.3编译安装PostGIS 3.4.2需要处理一些兼容性问题。
最后修改时间:2024-06-09 12:18:40
「喜欢这篇文章,您的关注和赞赏是给作者最好的鼓励」
关注作者
【版权声明】本文为墨天轮用户原创内容,转载时必须标注文章的来源(墨天轮),文章链接,文章作者等基本信息,否则作者和墨天轮有权追究责任。如果您发现墨天轮中有涉嫌抄袭或者侵权的内容,欢迎发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。




