支持的插件列表

如下表格中的数据来源于RDS for PostgreSQL引擎各版本下,最新小版本支持的插件列表。您可以通过SELECT name FROM pg_available_extensions;语句,查看当前实例支持的插件列表。如果当前版本不支持某个插件,则需要迁移到新版本实例。
使用mysql_fdw、dblink、postgres_fdw和tds_fdw等需要跨数据库实例访问的插件时,要求两个数据库实例的服务端IP必须在同一个VPC和子网内。
PostgreSQL支持的插件列表
插件名称 | PostgreSQL 13 | PostgreSQL 14 | PostgreSQL 15 | PostgreSQL 16 | PostgreSQL 17 |
|---|---|---|---|---|---|
address_standardizer | 3.1.11 | 3.2.7 | 3.4.3 | 3.4.3 | 3.5.0 |
address_standardizer_data_us | 3.1.11 | 3.2.7 | 3.4.3 | 3.4.3 | 3.5.0 |
amcheck | 1.2 | 1.3 | 1.3 | 1.3 | 1.4 |
anon | 0.7.1 | 1.3.2 | 1.3.2 | 1.3.2 | 1.3.2 |
auth_delay | 2 | 2 | 2 | 2 | 2 |
auto_explain | 2 | 2 | 2 | 2 | 2 |
autoinc | 1 | 1 | 1 | 1 | 1 |
bloom | 1.0 | 1.0 | 1.0 | 1 | 1 |
btree_gin | 1.3 | 1.3 | 1.3 | 1.3 | 1.3 |
btree_gist | 1.5 | 1.6 | 1.7 | 1.7 | 1.7 |
citext | 1.6 | 1.6 | 1.6 | 1.6 | 1.6 |
cube 具体说明请参见cube。 | 1.4 | 1.5 | 1.5 | 1.5 | 1.5 |
dblink | 1.2 | 1.2 | 1.2 | 1.2 | 1.2 |
dict_int | 1.0 | 1.0 | 1.0 | 1 | 1 |
dict_xsyn | 1.0 | 1.0 | 1.0 | 1 | 1 |
earthdistance 具体说明请参见earthdistance。 | 1.1 | 1.1 | 1.1 | 1.2 | 1.2 |
fuzzystrmatch | 1.1 | 1.1 | 1.1 | 1.2 | 1.2 |
hll | 2.18 | 2.18 | 2.18 | 2.18 | 2.18 |
hstore | 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 |
icu | 1.0 | 1.0 | 1.0 | 1 | 1 |
insert_username | 1 | 1 | 1 | 1 | 1 |
intagg | 1.1 | 1.1 | 1.1 | 1.1 | 1.1 |
intarray | 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 |
isn | 1.2 | 1.2 | 1.2 | 1.2 | 1.2 |
jsonb_plperl | 1 | 1 | 1 | 1 | 1 |
lo | 1.1 | 1.1 | 1.1 | 1.1 | 1.1 |
ltree | 1.2 | 1.2 | 1.2 | 1.2 | 1.3 |
moddatetime | 1 | 1 | 1 | 1 | 1 |
mysql_fdw | 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 |
old_snapshot | 无 | 1 | 1 | 1 | 无 |
orafce | 3.14.0 | 3.21.1 | 4.14 | 4.14 | 4.14 |
pageinspect | 1.8 | 1.9 | 1.11 | 1.12 | 1.12 |
passwordcheck | 2 | 2 | 2 | 2 | 2 |
Pgaudit | 1.5.2 | 1.6.2 | 1.7.0 | 16 | 17 |
pg_bigm | 1.2 | 1.2 | 1.2 | 1.2 | 1.2 |
pg_buffercache | 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 |
pg_freespacemap | 1.2 | 1.2 | 1.2 | 1.2 | 1.2 |
pg_hint_plan | 1.3.10 | 1.4.3 | 1.5.2 | 1.6.1 | 1.7.0 |
pg_jieba | 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 | 无 | 无 | 无 | 无 |
pg_prewarm | 1.2 | 1.2 | 1.2 | 1.2 | 1.2 |
pg_qualstats | 2.1.1 | 2.1.1 | 2.1.1 | 2.1.1 | 2.1.1 |
pg_repack | 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 |
pg_stat_kcache | 2.3.0 | 2.3.0 | 2.3.0 | 2.3.0 | 2.3.0 |
pg_stat_statements | 1.8 | 1.9 | 1.10 | 1.1 | 1.11 |
pg_surgery | 无 | 1.0 | 1.0 | 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 | 无 |
pg_trgm | 1.5 | 1.6 | 1.6 | 1.6 | 1.6 |
pg_visibility | 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 |
pg_walinspect | 无 | 无 | 1 | 1.1 | 1.1 |
pgcrypto | 1.3 | 1.3 | 1.3 | 1.3 | 1.3 |
pgl_ddl_deploy | 2.1.0 | 2.1.0 | 2.1.0 | 2.2.1 | 2.2.1 |
pglogical | 2.4.5 | 2.4.5 | 2.4.5 | 2.4.5 | 2.4.5 |
pg_profile_pro 具体说明请参见pg_profile_pro。 | 无 | 无 | 无 | 无 | 无 |
pgrouting | 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 |
pg_sql_history 具体说明请参见pg_sql_history。 | 1.2 | 1.2 | 1.2 | 1.2 | 1.2 |
pgstattuple | 1.5 | 1.5 | 1.5 | 1.5 | 1.5 |
pgvector | 0.8.0 | 0.8.0 | 0.8.0 | 0.8.0 | 0.8.0 |
plpgsql 具体说明请参见plpgsql。 | 1.0 | 1 | 1.0 | 1 | 1 |
plperl | 1.0 | 1.0 | 1.0 | 1 | 1 |
plprofiler | 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 |
postgis 具体说明请参见postgis。 | 3.1.11 | 3.2.7 | 3.4.3 | 3.4.3 | 3.5.0 |
postgis_raster | 3.1.11 | 3.2.7 | 3.4.3 | 3.4.3 | 3.5.0 |
postgis_sfcgal | 3.1.11 | 3.2.7 | 3.4.3 | 3.4.3 | 3.5.0 |
postgis_tiger_geocoder | 3.1.11 | 3.2.7 | 3.4.3 | 3.4.3 | 3.5.0 |
postgis_topology | 3.1.11 | 3.2.7 | 3.4.3 | 3.4.3 | 3.5.0 |
postgres_fdw | 1.0 | 1.1 | 1.1 | 1.1 | 1.1 |
postgres-decoderbufs 具体说明请参见postgres-decoderbufs。 | 1.7.0 | 1.7.0 | 无 | 无 | 无 |
powa | 4.2.2 | 4.2.2 | 4.2.2 | 4.2.2 | 5.0.0 |
rds_hwdrs_ddl | 1 | 1 | 1 | 1 | 1 |
rds_hwdrs_privs | 1 | 1 | 1 | 1 | 1 |
rds_pg_sql_ccl | 1 | 1 | 1 | 1 | 1 |
rum | 1.3 | 1.3 | 1.3 | 1.3 | 1.3 |
seg | 1.3 | 1.4 | 1.4 | 1.4 | 1.4 |
sslinfo | 1.2 | 1.2 | 1.2 | 1.2 | 1.2 |
tablefunc | 1.0 | 1.0 | 1.0 | 1 | 1 |
tcn | 1 | 1 | 1 | 1 | 1 |
tds_fdw | 2.0.4 | 2.0.4 | 2.0.4 | 2.0.4 | 2.0.4 |
test_decoding | 2 | 2 | 2 | 2 | 2 |
timescaledb 具体说明请参见timescaledb。 | 2.1.0 | 2.7.0 | 2.11.1 | 2.14.2 | 2.17.2 |
tsm_system_rows | 1.0 | 1.0 | 1.0 | 1 | 1 |
tsm_system_time | 1.0 | 1.0 | 1.0 | 1 | 1 |
unaccent | 1.1 | 1.1 | 1.1 | 1.1 | 1.1 |
uuid-ossp | 1.1 | 1.1 | 1.1 | 1.1 | 1.1 |
wal2json 具体说明请参见wal2json。 | 2.5 | 2.5 | 2.5 | 2.5 | 2.5 |
xml2 | 1.1 | 1.1 | 1.1 | 1.1 | 1.1 |
zhparser | 2.2 | 2.2 | 2.2 | 2.2 | 2.2 |
pg_stat_monitor | 2.1 | 2.1 | 2.1 | 2.1 | 2.1 |
插件名称 | PostgreSQL 9.5 | PostgreSQL 9.6 | PostgreSQL 10 | PostgreSQL 11 | PostgreSQL 12 |
|---|---|---|---|---|---|
address_standardizer | 2.5.1 | 2.5.1 | 2.5.1 | 2.5.1 | 3.0.0 |
address_standardizer_data_us | 2.5.1 | 2.5.1 | 2.5.1 | 2.5.1 | 3.0.0 |
amcheck | 无 | 无 | 无 | 1.1 | 1.2 |
anon | 无 | 无 | 无 | 无 | 0.7.1 |
auth_delay | 无 | 无 | 无 | 无 | 2 |
auto_explain | 2 | 2 | 2 | 2 | 2 |
autoinc | 无 | 无 | 无 | 无 | 1 |
bloom | 无 | 无 | 无 | 1.0 | 1.0 |
btree_gin | 1.0 | 1.0 | 1.2 | 1.3 | 1.3 |
btree_gist | 1.1 | 1.2 | 1.5 | 1.5 | 1.5 |
citext | 1.1 | 1.3 | 1.4 | 1.5 | 1.6 |
cube 具体说明请参见cube。 | 1.0 | 1.2 | 1.2 | 1.4 | 1.4 |
dblink | 1.1 | 1.2 | 1.2 | 1.2 | 1.2 |
dict_int | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 |
dict_xsyn | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 |
earthdistance 具体说明请参见earthdistance。 | 1.0 | 1.1 | 1.1 | 1.1 | 1.1 |
fuzzystrmatch | 1.0 | 1.1 | 1.1 | 1.1 | 1.1 |
hll | 2.12 | 2.12 | 2.12 | 2.12 | 2.14 |
hstore | 1.3 | 1.4 | 1.4 | 1.5 | 1.6 |
hypopg | 无 | 无 | 无 | 1.4.0 | 1.4.0 |
icu | 无 | 无 | 无 | 1.0 | 1.0 |
insert_username | 无 | 无 | 无 | 无 | 1 |
intagg | 1.0 | 1.1 | 1.1 | 1.1 | 1.1 |
intarray | 1.0 | 1.2 | 1.2 | 1.2 | 1.2 |
ip4r | 无 | 无 | 无 | 无 | 2.4.2 |
isn | 1.0 | 1.1 | 1.1 | 1.2 | 1.2 |
jsonb_plperl | 无 | 无 | 无 | 无 | 1 |
lo | 无 | 无 | 无 | 无 | 1.1 |
ltree | 1.0 | 1.1 | 1.1 | 1.1 | 1.1 |
moddatetime | 无 | 无 | 无 | 无 | 1 |
mysql_fdw | 无 | 无 | 无 | 2.9.1 | 2.9.1 |
obs_fdw | 无 | 无 | 无 | 无 | 1.0.0 |
old_snapshot | 无 | 无 | 无 | 无 | 无 |
orafce | 3.8.0 | 3.8.0 | 3.8.0 | 3.8.0 | 3.8.0 |
pageinspect | 1.3 | 1.5 | 1.6 | 1.7 | 1.7 |
passwordcheck | 2 | 2 | 2 | 2 | 2 |
Pgaudit | 无 | 无 | 无 | 无 | 1.4.3 |
pg_bigm | 无 | 无 | 无 | 1.2_20200228 | 1.2 |
pg_buffercache | 1.1 | 1.2 | 1.3 | 1.3 | 1.3 |
pg_cron | 无 | 无 | 无 | 无 | 1.6.2 |
pg_freespacemap | 1.0 | 1.1 | 1.2 | 1.2 | 1.2 |
pg_hint_plan | 1.1.5 | 1.2.0 | 1.3.0 | 1.3.5 | 1.3.9 |
pg_jieba | 1.1.0 | 1.1.0 | 1.1.0 | 1.1.0 | 1.1.0 |
pg_partman | 无 | 无 | 无 | 无 | 无 |
pg_pathman | 1.5.8 | 1.5.8 | 1.5.8 | 1.5.8 | 1.5.12 |
pg_prewarm | 1.0 | 1.1 | 1.1 | 1.2 | 1.2 |
pg_qualstats | 无 | 无 | 无 | 2.1.0 | 2.1.0 |
pg_repack | 1.5.0 | 1.5.0 | 1.5.0 | 1.5.0 | 1.5.0 |
pg_roaringbitmap | 无 | 无 | 无 | 0.5.4 | 0.5.4 |
pg_stat_kcache | 无 | 无 | 无 | 2.2.3 | 2.2.3 |
pg_stat_statements | 1.3 | 1.4 | 1.6 | 1.6 | 1.7 |
pg_surgery | 无 | 无 | 无 | 无 | 无 |
pg_tle | 无 | 无 | 无 | 无 | 无 |
pg_track_settings | 无 | 无 | 无 | 2.1.2 | 2.1.2 |
pg_trgm | 1.1 | 1.3 | 1.3 | 1.4 | 1.4 |
pg_visibility | 无 | 无 | 无 | 1.2 | 1.2 |
pg_wait_sampling | 无 | 无 | 无 | 1.1.5 | 1.1.5 |
pg_walinspect | 无 | 无 | 无 | 无 | 无 |
pgcrypto | 1.2 | 1.3 | 1.3 | 1.3 | 1.3 |
pgl_ddl_deploy | 无 | 无 | 无 | 无 | 2.1.0 |
pglogical | 无 | 无 | 无 | 2.4.4 | 2.4.4 |
pg_profile_pro 具体说明请参见pg_profile_pro。 | 无 | 无 | 无 | 无 | 1.0 |
pgrouting | 无 | 无 | 无 | 3.1.0 | 3.1.0 |
pgrowlocks | 1.1 | 1.2 | 1.2 | 1.2 | 1.2 |
pg_sql_history 具体说明请参见pg_sql_history。 | 1.2 | 1.2 | 1.2 | 1.2 | 1.2 |
pgstattuple | 1.3 | 1.4 | 1.5 | 1.5 | 1.5 |
pgvector | 无 | 无 | 无 | 无 | 0.7.0 |
plpgsql 具体说明请参见plpgsql。 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 |
plperl | 无 | 无 | 无 | 1.0 | 1.0 |
plprofiler | 无 | 无 | 无 | 无 | 4.2.4 |
plproxy | 无 | 无 | 无 | 2.11.0 | 2.11.0 |
postgis 具体说明请参见postgis。 | 2.5.1 | 2.5.1 | 2.5.1 | 2.5.1 | 3.0.0 |
postgis_raster | 集成到postgis | 集成到postgis | 集成到postgis | 集成到postgis | 3.0.0 |
postgis_sfcgal | 2.5.1 | 2.5.1 | 2.5.1 | 2.5.1 | 3.0.0 |
postgis_tiger_geocoder | 2.5.1 | 2.5.1 | 2.5.1 | 2.5.1 | 3.0.0 |
postgis_topology | 2.5.1 | 2.5.1 | 2.5.1 | 2.5.1 | 3.0.0 |
postgres_fdw | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 |
postgres-decoderbufs 具体说明请参见postgres-decoderbufs。 | 无 | 无 | 无 | 1.7.0 | 1.7.0 |
powa | 无 | 无 | 无 | 无 | 4.2.2 |
rds_hwdrs_ddl | 1 | 1 | 1 | 1 | 1 |
rds_hwdrs_privs | 1 | 1 | 1 | 1 | 1 |
rds_pg_sql_ccl | 无 | 无 | 无 | 无 | 1 |
rum | 无 | 无 | 无 | 1.3 | 1.3 |
seg | 无 | 无 | 无 | 无 | 1.3 |
sslinfo | 无 | 无 | 无 | 1.2 | 1.2 |
tablefunc | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 |
tcn | 无 | 无 | 无 | 无 | 1 |
tds_fdw | 无 | 无 | 2.0.3 | 2.0.3 | 2.0.3 |
test_decoding | 2 | 2 | 2 | 2 | 2 |
timescaledb 具体说明请参见timescaledb。 | 0 | 1.3.2 | 1.3.2 | 1.3.2 | 1.7.0 |
tsm_system_rows | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 |
tsm_system_time | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 |
unaccent | 1.0 | 1.1 | 1.1 | 1.1 | 1.1 |
uuid-ossp | 1.0 | 1.1 | 1.1 | 1.1 | 1.1 |
wal2json 具体说明请参见wal2json。 | 无 | 无 | 无 | 2.5 | 2.5 |
xml2 | 无 | 无 | 无 | 1.1 | 1.1 |
zhparser | 2.2 | 2.2 | 2.2 | 2.2 | 2.2 |
pg_stat_monitor | 无 | 无 | 无 | 无 | 2.1 |
插件说明
- 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, postgres-decoderbufs
这两个插件是逻辑复制插件,您可以直接使用该插件,不需要通过control_extension安装。
这两个插件不能通过pg_available_extensions查询,可通过如下语句查看是否支持,执行不报错说明支持这两个插件。
- wal2json插件:
select pg_create_logical_replication_slot('tst_wal2json', 'wal2json'); - postgres-decoderbufs插件:
select pg_create_logical_replication_slot('tst_decoderbufs', 'decoderbufs');
语句执行成功后,需要删除slot,否则会导致wal日志积压。- 删除slot tst_wal2json:
select pg_drop_replication_slot('tst_wal2json'); - 删除slot tst_decoderbufs:
select pg_drop_replication_slot('tst_decoderbufs');
- wal2json插件:
- pg_profile_pro
因发现插件存在缺陷,现暂时关闭支持,我们会在缺陷修复后重新开放,给您造成不便敬请谅解。
- pg_sql_history
该插件是DBSS服务中RDS for PostgreSQL数据库进行SQL审计的插件。该插件目前查询到的SQL语句会有截断,因为为每条记录分配的空间固定,为4KB。这4KB除了存储SQL语句,还会存储数据库名、用户名、SQL类型等信息。

