说明
如下表格中的数据来源于RDS for PostgreSQL引擎各版本下,最新小版本支持的插件列表。您可以通过SELECT name FROM pg_available_extensions;语句,查看当前实例支持的插件列表。
使用mysql_fdw、dblink、postgres_fdw和tds_fdw等需要跨数据库实例访问的插件时,要求两个数据库实例的服务端IP必须在同一个VPC和子网内。
PostgreSQL 12~17版本的插件
| 插件名称 | PostgreSQL 12 | PostgreSQL 13 | PostgreSQL 14 | PostgreSQL 15 | PostgreSQL 16 | PostgreSQL 17 |
|---|---|---|---|---|---|---|
| address_standardizer | 3.0.0 | 3.1.11 | 3.2.7 | 3.4.3 | 3.4.3 | 3.5.0 |
| address_standardizer_data_us | 3.0.0 | 3.1.11 | 3.2.7 | 3.4.3 | 3.4.3 | 3.5.0 |
| amcheck | 1.2 | 1.2 | 1.3 | 1.3 | 1.3 | 1.4 |
| anon | 0.7.1 | 0.7.1 | 1.3.2 | 1.3.2 | 1.3.2 | 1.3.2 |
| auth_delay | 2 | 2 | 2 | 2 | 2 | 2 |
| auto_explain | 2 | 2 | 2 | 2 | 2 | 2 |
| autoinc | 1 | 1 | 1 | 1 | 1 | 1 |
| bloom | 1 | 1 | 1 | 1 | 1 | 1 |
| btree_gin | 1.3 | 1.3 | 1.3 | 1.3 | 1.3 | 1.3 |
| btree_gist | 1.5 | 1.5 | 1.6 | 1.7 | 1.7 | 1.7 |
| citext | 1.6 | 1.6 | 1.6 | 1.6 | 1.6 | 1.6 |
| cube | 1.4 | 1.4 | 1.5 | 1.5 | 1.5 | 1.5 |
| dblink | 1.2 | 1.2 | 1.2 | 1.2 | 1.2 | 1.2 |
| dict_int | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 |
| dict_xsyn | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 |
| earthdistance | 1.1 | 1.1 | 1.1 | 1.1 | 1.2 | 1.2 |
| fuzzystrmatch | 1.1 | 1.1 | 1.1 | 1.1 | 1.2 | 1.2 |
| hll | 2.14 | 2.18 | 2.18 | 2.18 | 2.18 | 2.18 |
| hstore | 1.6 | 1.7 | 1.8 | 1.8 | 1.8 | 1.8 |
| hypopg | 1.4.0 | 1.4.0 | 1.4.0 | 1.4.0 | 1.4.0 | 1.4.0 |
| icu | 1 | 1 | 1 | 1 | 1 | 1 |
| insert_username | 1 | 1 | 1 | 1 | 1 | 1 |
| intagg | 1.1 | 1.1 | 1.1 | 1.1 | 1.1 | 1.1 |
| intarray | 1.2 | 1.3 | 1.5 | 1.5 | 1.5 | 1.5 |
| ip4r | 2.4.2 | 2.4.2 | 2.4.2 | 2.4.2 | 2.4.2 | 2.4.2 |
| isn | 1.2 | 1.2 | 1.2 | 1.2 | 1.2 | 1.2 |
| jsonb_plperl | 1 | 1 | 1 | 1 | 1 | 1 |
| lo | 1.1 | 1.1 | 1.1 | 1.1 | 1.1 | 1.1 |
| ltree | 1.1 | 1.2 | 1.2 | 1.2 | 1.2 | 1.3 |
| moddatetime | 1 | 1 | 1 | 1 | 1 | 1 |
| mysql_fdw | 2.9.1 | 2.9.1 | 2.9.1 | 2.9.1 | 2.9.1 | 2.9.1 |
| obs_fdw | 1.0.0 | 1.0.0 | 1.0.0 | 1.0.0 | 1.0.0 | 1.0.0 |
| old_snapshot | 无 | 无 | 1 | 1 | 1 | 无 |
| orafce | 3.8 | 3.14 | 3.21.1 | 4.14 | 4.14 | 4.14 |
| pageinspect | 1.7 | 1.8 | 1.9 | 1.11 | 1.12 | 1.12 |
| passwordcheck | 2 | 2 | 2 | 2 | 2 | 2 |
| Pgaudit | 1.4.3 | 1.5.2 | 1.6.2 | 1.7.0 | 16 | 17 |
| pg_bigm | 1.2 | 1.2 | 1.2 | 1.2 | 1.2 | 1.2 |
| pg_buffercache | 1.3 | 1.3 | 1.3 | 1.3 | 1.4 | 1.5 |
| pg_cron | 1.6.2 | 1.6.2 | 1.6.2 | 1.6.2 | 1.6.2 | 1.6.2 |
| pg_freespacemap | 1.2 | 1.2 | 1.2 | 1.2 | 1.2 | 1.2 |
| pg_hint_plan | 1.3.9 | 1.3.10 | 1.4.3 | 1.5.2 | 1.6.1 | 1.7.0 |
| pg_jieba | 1.1.0 | 2.0.1 | 1.1.0 | 1.1.0 | 无 | 无 |
| pg_partman | 无 | 无 | 5.0.1 | 5.0.1 | 5.0.1 | 5.2.2 |
| pg_pathman | 1.5.12 | 1.5.12 | 无 | 无 | 无 | 无 |
| pg_prewarm | 1.2 | 1.2 | 1.2 | 1.2 | 1.2 | 1.2 |
| pg_qualstats | 2.1.0 | 2.1.1 | 2.1.1 | 2.1.1 | 2.1.1 | 2.1.1 |
| pg_repack | 1.5.0 | 1.5.2 | 1.5.2 | 1.5.2 | 1.5.2 | 1.5.2 |
| pg_roaringbitmap | 0.5.4 | 0.5.4 | 0.5.4 | 0.5.4 | 0.5.4 | 0.5.4 |
| pg_stat_kcache | 2.2.3 | 2.3.0 | 2.3.0 | 2.3.0 | 2.3.0 | 2.3.0 |
| pg_stat_statements | 1.7 | 1.8 | 1.9 | 1.10 | 1.10 | 1.11 |
| pg_surgery | 无 | 无 | 1 | 1 | 1 | 1 |
| pg_tle | 无 | 1.4.0 | 1.4.0 | 1.4.0 | 1.4.0 | 1.4.0 |
| pg_track_settings | 2.1.2 | 2.1.2 | 2.1.2 | 2.1.2 | 2.1.2 | 无 |
| pg_trgm | 1.4 | 1.5 | 1.6 | 1.6 | 1.6 | 1.6 |
| pg_visibility | 1.2 | 1.2 | 1.2 | 1.2 | 1.2 | 1.2 |
| pg_wait_sampling | 1.1.5 | 1.1.5 | 1.1.5 | 1.1.5 | 1.1.5 | 1.1.5 |
| pg_walinspect | 无 | 无 | 无 | 1 | 1.1 | 1.1 |
| pgcrypto | 1.3 | 1.3 | 1.3 | 1.3 | 1.3 | 1.3 |
| pgl_ddl_deploy | 2.1.0 | 2.1.0 | 2.1.0 | 2.1.0 | 2.1.1 | 2.1.1 |
| pglogical | 2.4.4 | 2.4.5 | 2.4.5 | 2.4.5 | 2.4.5 | 2.4.5 |
| pg_profile_pro | 1.0 | 无 | 无 | 无 | 无 | 无 |
| pgrouting | 3.1.0 | 3.1.4 | 3.3.1 | 3.5.0 | 3.6.1 | 3.7.1 |
pgrowlocks | 1.2 | 1.2 | 1.2 | 1.2 | 1.2 | 1.2 |
pg_sql_history | 1.2 | 1.2 | 1.2 | 1.2 | 1.2 | 1.2 |
pgstattuple | 1.5 | 1.5 | 1.5 | 1.5 | 1.5 | 1.5 |
pgvector | 0.7.0 | 0.8.0 | 0.8.0 | 0.8.0 | 0.8.0 | 0.8.0 |
plpgsql | 1 | 1 | 1 | 1 | 1 | 1 |
plperl | 1 | 1 | 1 | 1 | 1 | 1 |
plprofiler | 4.2.4 | 4.2.4 | 4.2.4 | 4.2.4 | 4.2.4 | 4.2.4 |
plproxy | 2.11.0 | 2.11.0 | 2.11.0 | 2.11.0 | 2.11.0 | 2.11.0 |
postgis | 3.0.0 | 3.1.11 | 3.2.7 | 3.4.3 | 3.4.3 | 3.5.0 |
postgis_raster | 3.0.0 | 3.1.11 | 3.2.7 | 3.4.3 | 3.4.3 | 3.5.0 |
| postgis_sfcgal | 3.0.0 | 3.1.11 | 3.2.7 | 3.4.3 | 3.4.3 | 3.5.0 |
| postgis_tiger_geocoder | 3.0.0 | 3.1.11 | 3.2.7 | 3.4.3 | 3.4.3 | 3.5.0 |
| postgis_topology | 3.0.0 | 3.1.11 | 3.2.7 | 3.4.3 | 3.4.3 | 3.5.0 |
| postgres_fdw | 1 | 1 | 1.1 | 1.1 | 1.1 | 1.1 |
| postgres-decoderbufs | 1.7.0 | 1.7.0 | 1.7.0 | 无 | 无 | 无 |
powa | 4.2.2 | 4.2.2 | 4.2.2 | 4.2.2 | 4.2.2 | 5.0.0 |
| rds_hwdrs_ddl | 1 | 1 | 1 | 1 | 1 | 1 |
| rds_hwdrs_privs | 1 | 1 | 1 | 1 | 1 | 1 |
| rds_pg_sql_ccl | 1 | 1 | 1 | 1 | 1 | 1 |
| rum | 1.3.13 | 1.3.13 | 1.3.13 | 1.3.13 | 1.3.13 | 1.3.13 |
| seg | 1.3 | 1.3 | 1.4 | 1.4 | 1.4 | 1.4 |
| sslinfo | 1.2 | 1.2 | 1.2 | 1.2 | 1.2 | 1.2 |
| tablefunc | 1 | 1 | 1 | 1 | 1 | 1 |
| tcn | 1 | 1 | 1 | 1 | 1 | 1 |
| tds_fdw | 2.0.3 | 2.0.4 | 2.0.4 | 2.0.4 | 2.0.4 | 2.0.4 |
| test_decoding | 2 | 2 | 2 | 2 | 2 | 2 |
timescaledb | 1.7.0 | 2.1.0 | 2.7.0 | 2.11.1 | 2.14.2 | 2.17.2 |
| tsm_system_rows | 1 | 1 | 1 | 1 | 1 | 1 |
| tsm_system_time | 1 | 1 | 1 | 1 | 1 | 1 |
| unaccent | 1.1 | 1.1 | 1.1 | 1.1 | 1.1 | 1.1 |
| uuid-ossp | 1.1 | 1.1 | 1.1 | 1.1 | 1.1 | 1.1 |
| wal2json | 2.5 | 2.5 | 2.5 | 2.5 | 2.5 | 2.5 |
| xml2 | 1.1 | 1.1 | 1.1 | 1.1 | 1.1 | 1.1 |
| zhparser | 2.2 | 2.2 | 2.2 | 2.2 | 2.2 | 2.2 |
| pg_stat_monitor | 2.1 | 2.1 | 2.1 | 2.1 | 2.1 | 2.1 |
PostgreSQL 9.5~11版本的插件
| 插件名称 | PostgreSQL 9.5 | PostgreSQL 9.6 | PostgreSQL 10 | PostgreSQL 11 |
|---|---|---|---|---|
| address_standardizer | 2.5.1 | 2.5.1 | 2.5.1 | 2.5.1 |
| address_standardizer_data_us | 2.5.1 | 2.5.1 | 2.5.1 | 2.5.1 |
| amcheck | 无 | 无 | 无 | 1.1 |
| anon | 无 | 无 | 无 | 无 |
| auth_delay | 无 | 无 | 无 | 无 |
| auto_explain | 2 | 2 | 2 | 2 |
| autoinc | 无 | 无 | 无 | 无 |
| bloom | 无 | 无 | 无 | 1 |
| btree_gin | 1 | 1 | 1.2 | 1.3 |
| btree_gist | 1.1 | 1.2 | 1.5 | 1.5 |
| citext | 1.1 | 1.3 | 1.4 | 1.5 |
| cube | 1 | 1.2 | 1.2 | 1.4 |
| dblink | 1.1 | 1.2 | 1.2 | 1.2 |
| dict_int | 1.0 | 1.0 | 1.0 | 1.0 |
| dict_xsyn | 1.0 | 1.0 | 1.0 | 1.0 |
| earthdistance | 1.0 | 1.1 | 1.1 | 1.1 |
| fuzzystrmatch | 1.0 | 1.1 | 1.1 | 1.1 |
| hll | 2.12 | 2.12 | 2.12 | 2.12 |
| hstore | 1.3 | 1.4 | 1.4 | 1.5 |
| hypopg | 无 | 无 | 无 | 1.4.0 |
| icu | 无 | 无 | 无 | 1 |
| insert_username | 无 | 无 | 无 | 无 |
| intagg | 1.0 | 1.1 | 1.1 | 1.1 |
| intarray | 1.0 | 1.2 | 1.2 | 1.2 |
| ip4r | 无 | 无 | 无 | 无 |
| isn | 1.0 | 1.1 | 1.1 | 1.2 |
| jsonb_plperl | 无 | 无 | 无 | 无 |
| lo | 无 | 无 | 无 | 无 |
| ltree | 1.0 | 1.1 | 1.1 | 1.1 |
| moddatetime | 无 | 无 | 无 | 无 |
| mysql_fdw | 无 | 无 | 无 | 2.9.1 |
| obs_fdw | 无 | 无 | 无 | 无 |
| old_snapshot | 无 | 无 | 无 | 无 |
| orafce | 3.8.0 | 3.8.0 | 3.8.0 | 3.8.0 |
| pageinspect | 1.3 | 1.5 | 1.6 | 1.7 |
| passwordcheck | 2 | 2 | 2 | 2 |
| Pgaudit | 无 | 无 | 无 | 无 |
| pg_bigm | 无 | 无 | 无 | 1.2_20200228 |
| pg_buffercache | 1.1 | 1.2 | 1.3 | 1.3 |
| pg_cron | 无 | 无 | 无 | 无 |
| pg_freespacemap | 1.0 | 1.1 | 1.2 | 1.2 |
| pg_hint_plan | 1.1.5 | 1.2.0 | 1.3.0 | 1.3.5 |
| pg_jieba | 1.1.0 | 1.1.0 | 1.1.0 | 1.1.0 |
| pg_partman | 无 | 无 | 5.0.1 | 5.0.1 |
| pg_pathman | 1.5.8 | 1.5.8 | 1.5.8 | 1.5.8 |
| pg_prewarm | 1.0 | 1.1 | 1.1 | 1.2 |
| pg_qualstats | 无 | 无 | 无 | 2.1.0 |
| pg_repack | 1.5.0 | 1.5.0 | 1.5.0 | 1.5.0 |
| pg_roaringbitmap | 无 | 无 | 无 | 0.5.4 |
| pg_stat_kcache | 无 | 无 | 无 | 2.2.3 |
| pg_stat_statements | 1.3 | 1.4 | 1.6 | 1.6 |
| pg_surgery | 无 | 无 | 无 | 无 |
| pg_tle | 无 | 无 | 无 | 无 |
| pg_track_settings | 无 | 无 | 无 | 2.1.2 |
| pg_trgm | 1.1 | 1.3 | 1.3 | 1.4 |
| pg_visibility | 无 | 无 | 无 | 1.2 |
| pg_wait_sampling | 无 | 无 | 无 | 1.1.5 |
| pg_walinspect | 无 | 无 | 无 | 无 |
| pgcrypto | 1.2 | 1.3 | 1.3 | 1.3 |
| pgl_ddl_deploy | 无 | 无 | 无 | 无 |
| pglogical | 无 | 无 | 无 | 2.4.4 |
| pg_profile_pro | 无 | 无 | 无 | 无 |
| pgrouting | 无 | 无 | 无 | 3.1.0 |
| pgrowlocks | 1.1 | 1.2 | 1.2 | 1.2 |
| pg_sql_history | 1.2 | 1.2 | 1.2 | 1.2 |
| pgstattuple | 1.3 | 1.4 | 1.5 | 1.5 |
| pgvector | 无 | 无 | 无 | 无 |
| plpgsql | 1 | 1 | 1 | 1 |
| plperl | 无 | 无 | 无 | 1 |
| plprofiler | 无 | 无 | 无 | 无 |
| plproxy | 无 | 无 | 无 | 2.11.0 |
| plv8 | 无 | 无 | 无 | 2.3.15 |
| postgis | 2.5.1 | 2.5.1 | 2.5.1 | 2.5.1 |
| postgis_raster | 集成到postgis | 集成到postgis | 集成到postgis | 集成到postgis |
| postgis_sfcgal | 2.5.1 | 2.5.1 | 2.5.1 | 2.5.1 |
| postgis_tiger_geocoder | 2.5.1 | 2.5.1 | 2.5.1 | 2.5.1 |
| postgis_topology | 2.5.1 | 2.5.1 | 2.5.1 | 2.5.1 |
| postgres_fdw | 1 | 1 | 1.1 | 1.1 |
| postgres-decoderbufs | 无 | 无 | 无 | 1.7.0 |
| postgresql_anonymizer | 无 | 无 | 无 | 0.7.1 |
| powa | 无 | 无 | 无 | 无 |
| rds_hwdrs_ddl | 无 | 无 | 无 | 无 |
| rds_hwdrs_privs | 无 | 无 | 无 | 无 |
| rds_pg_sql_ccl | 无 | 无 | 无 | 无 |
| q3c | 无 | 无 | 无 | 2.0.1 |
| rum | 无 | 无 | 无 | 1.3.13 |
| seg | 无 | 无 | 无 | 无 |
| sslinfo | 无 | 无 | 无 | 1.2 |
| tablefunc | 1 | 1 | 1 | 1 |
| tcn | 无 | 无 | 无 | 无 |
| tds_fdw | 无 | 无 | 2.0.3 | 2.0.3 |
| test_decoding | 2 | 2 | 2 | 2 |
| timescaledb | 0 | 1.3.2 | 1.3.2 | 1.3.2 |
| tsm_system_rows | 1 | 1 | 1 | 1 |
| tsm_system_time | 1 | 1 | 1 | 1 |
| unaccent | 1.0 | 1.1 | 1.1 | 1.1 |
| uuid-ossp | 1.0 | 1.1 | 1.1 | 1.1 |
| wal2json | 无 | 无 | 无 | 2.5 |
| xml2 | 无 | 无 | 无 | 1.1 |
| zhparser | 2.2 | 2.2 | 2.2 | 2.2 |
| pg_stat_monitor | 无 | 无 | 无 | 无 |
插件说明
postgis
− 创建postgis_topology和postgis_tiger_geocoder插件,会更改search_path。search_path对已经建立的连接不会更新,如果需要使用这两个插件功能,需要重新建立连接更新search_path设置。
plpgsql
plpgsql 1.0插件支持提供SQL过程语言,默认内置安装,无需手动创建该插件。
earthdistance
安装earthdistance插件前,请先安装cube插件。
cube
如果已安装earthdistance插件,删除cube插件会导致earthdistance插件不可用。
timescaledb
RDS for PostgreSQL的timescaledb插件只支持Apache协议的特性,不支持tsl协议的特性,具体请参见timescaledb插件不支持的接口。
wal2json
该插件是逻辑复制插件,您可以直接使用该插件,不需要通过control_extension安装。
该插件不能通过pg_available_extensions查询,查看是否支持wal2json插件可通过如下语句确认,执行不报错说明支持wal2json插件。
select pg_create_logical_replication_slot('tst_wal2json', 'wal2json');
该条语句执行成功后,需要删除slot,否则会导致wal日志积压。
select pg_drop_replication_slot('tst_wal2json');
pg_profile_pro
因发现插件存在缺陷,现暂时关闭支持,我们会在缺陷修复后重新开放,给您造成不便敬请谅解。