This topic describes the extensions supported by different versions of PolarDB for PostgreSQL clusters.
If the extensions supported by your PolarDB for PostgreSQL cluster do not match the extensions described in the following section, update the minor engine version of your cluster to the latest. For more information, see Version management.
The following section describes the commonly used extensions. For information about all extensions supported by your cluster, run the
SELECT * FROM pg_available_extensions;
statement in the cluster.Before you use some extensions, you must add the names of the extensions to the value of the shared_preload_libraries parameter of your cluster. Otherwise, you cannot create the extensions.
The involved extensions include pg_stat_statements, auth_delay, passwordcheck, auto_explain, pgaudit, pg_bigm, pg_cron, pg_hint_plan, pg_prewarm, zhparser, timescaledb, pldebugger, and pg_jieba.
If you want to use the pldebugger extension, you must add
plugin_debugger
to the value of the shared_preload_libraries parameter of your cluster.
For information about how to modify the shared_preload_libraries parameter, see Specify cluster parameters.
If the
ERROR: permission denied for database postgres
error message appears when you create an extension such as ganos_spatialref in the default Postgres database, switch to a database that belongs to the current account to create the extension.
PolarDB for PostgreSQL allows you to modify extension policies. Starting April 27, 2023, specific extensions can be created only in a PolarDB for PostgreSQL cluster that runs one of the specified minor engine versions. Existing extensions are not affected. For more information, see Some extensions cannot be created in earlier versions of PolarDB for PostgreSQL as of April 27, 2023.
Clusters that use the X86 architecture
Extension | PostgreSQL 15 | PostgreSQL 14 | PostgreSQL 11 | Description |
1.5.0 | 1.5.0 | - | This extension allows you to query graphs in a database by using Cypher. | |
3.1.4 | 3.1.4 | 3.1.4 | This extension provides the address standardization service. | |
3.1.4 | 3.1.4 | 3.1.4 | This extension provides the address standardization service. You can use this extension to format and standardize American addresses. | |
1.0 | 1.0 | 1.0 | This extension provides an index access method that is based on Bloom filters. | |
1.0 | 1.3 | 1.3 | This extension provides sample Generalized Inverted Index (GIN) operator classes that are used to implement B-tree equivalent behavior for multiple data types or all enumerated data types. | |
1.6 | 1.6 | 1.5 | This extension provides sample GiST operator classes that are used to implement B-tree equivalent behavior for multiple data types or all enumerated data types. | |
1.6 | 1.6 | 1.5 | This extension provides a string type that is case-insensitive. | |
1.5 | 1.5 | 1.4 | This extension provides a data type that is used to represent multidimensional cubes. | |
1.2 | 1.2 | 1.2 | This extension is used to manage tables across databases. | |
- | 0.10.0 | 0.10.0 | This extension is used to generate data that is compatible with the Debezium platform based on the Protocol Buffers protocol. | |
1.0 | 1.0 | 1.0 | This extension provides a sample add-on dictionary template that is used to perform full-text searches. | |
1.1 | 1.1 | 1.1 | This extension provides two different methods that can be used to calculate great-circle distances on the surface of the Earth. | |
1.1 | 1.1 | 1.1 | This extension is used to compute the similarity and distance between strings. | |
5.6 | 5.6 | 5.6 | This extension is used to standardize the names of geographical locations based on Postal Address Geocode (PAGC). For more information, see Tuning the Standardizer. | |
5.6 | 5.6 | 5.6 | This extension is used to standardize the names of the geographical locations in the United States based on PAGC. For more information, see Tuning the Standardizer. | |
5.6 | 5.6 | 5.6 | This extension is used to compute and analyze spatial geometries. | |
5.6 | 5.6 | 5.6 | This extension is used to display 2D geometric big data at high speeds. | |
5.6 | 5.6 | 5.6 | This extension is an extension of the SFCGAL plug-in and is used to compute and analyze spatial geometries. | |
5.6 | 5.6 | 5.6 | This extension is used to compute and analyze spatial geometries. | |
5.6 | 5.6 | 5.6 | This extension is used to compute and analyze spatial network geometries. | |
5.6 | 5.6 | 5.6 | This extension is used to store, compute, and analyze point clouds. | |
5.6 | 5.6 | 5.6 | This extension is used to store, compute, and analyze point clouds. | |
5.6 | 5.6 | 5.6 | This extension is used to store, compute, and analyze spatial rasters. | |
5.6 | 5.6 | 5.6 | This extension is used to compute and analyze spatial references. | |
5.6 | 5.6 | 5.6 | This extension supports the TIGER data format that is used by the USCB. | |
5.6 | 5.6 | 5.6 | This extension is used to compute and analyze objects in the MOD system of Ganos. | |
2.16 | 2.16 | 2.14 | This extension is used to estimate business metrics, such as PVs and UVs, in an efficient manner. | |
1.8 | 1.8 | 1.5 | This extension is used to store key-value pairs within a single PostgreSQL value. | |
1.3.1 | 1.3.1 | 1.3.1 | This extension is used to create virtual indexes. | |
1.1 | 1.1 | 1.1 | This extension provides an integer aggregator and an enumerator. | |
1.5 | 1.5 | 1.2 | This extension provides functions and operators that are used to manage null-free arrays of integers. | |
- | 2.4 | 2.4 | This extension is used to store and query IPv4 and IPv6 addresses in PostgreSQL. | |
1.2 | 1.2 | 1.2 | This extension is used to validate input numbers and hyphenate output numbers based on a hard-coded list of prefixes. | |
1.2 | 1.2 | 1.1 | This extension is used to label data that is stored in a hierarchical tree structure. | |
mysql_fdw | 1.2 | 1.2 | 1.2 | This extension is used to read data from and write data to MySQL databases. |
1.1 | 1.1 | 1.1 | This extension is used to read data from and write data to an Object Storage Service (OSS) bucket. | |
0.0.1 | 0.0.1 | 0.0.1 | This extension is used to search for vectors in an efficient manner. | |
1.2 | 1.2 | 1.2 | This extension is used to create a 2-gram GIN that is used to accelerate full-text searches. | |
1.3 | 1.3 | 1.3 | This extension is used to examine shared buffers in real time. | |
polar_concurrency_control | - | - | 1.0 | This extension is used to control concurrency of SQL statements. |
polar_tde_utils | 1.0 | 1.0 | 1.0 | This extension is used to bulk encrypt and decrypt tables and indexes by using transparent data encryption (TDE). |
1.6 | 1.6 | 1.6 | This extension is used to configure scheduled tasks. | |
1.2 | 1.2 | 1.2 | This extension is used to examine the free space map (FSM). | |
1.2.0 | 1.2.0 | 1.1.0 | This extension is used to segment Chinese text. | |
- | - | 1.5 | This extension is used to partition tables at high performance. | |
- | 1.4.0 | 1.3.7 | This extension is used to add hints to SQL statements to modify the execution plans of SQL statements. | |
4.1 | 4.1 | 4.1 | This extension is used to collect statistics on resource-intensive activities. | |
1.4.8 | 1.4.8 | 1.4.6 | This extension is used to remove bloat from tables and indexes without significantly disrupting access to the database. | |
1.2 | 1.2 | 1.2 | This extension is used to load data into an operating system buffer or a PostgreSQL buffer. | |
1.0 | 1.0 | 1.0 | This extension provides spherical data types, functions, operators, and indexes for PostgreSQL. | |
- | 2.2.3 | 2.2.3 | This extension is used to collect statistics on read and write operations in file systems. | |
1.9 | 1.9 | 1.6 | This extension is used to track the statistics of all SQL statements that are executed on a specific server. | |
1.6 | 1.6 | 1.4 | This extension provides functions and operators that are used to compute the similarity between alphanumeric texts and index operator classes that are used to search for similar strings in an efficient manner. | |
- | 1.6.1 | 1.3.2 | This extension is used to generate audit logs that contain details about sessions and objects. | |
1.3 | 1.3 | 1.3 | This extension provides cryptographic functions for PostgreSQL. | |
3.4.2 | 3.4.2 | 3.4.2 | This extension is used to compute and analyze spatial network geometries. | |
1.2 | 1.2 | 1.2 | This extension provides a function that is used to display row lock information about a specific table. | |
1.5 | 1.5 | 1.5 | This extension provides various functions that are used to obtain tuple-level statistics. | |
0.4.1 | 0.4.1 | N/A | This extension is used to search for high-dimensional vector similarity. | |
- | - | 1.1 | This extension is used to debug the stored procedures of a PolarDB for PostgreSQL cluster. | |
1.0 | 1.0 | 1.0 | This extension supports the Perl procedural language. | |
1.0 | 1.0 | 1.0 | This extension supports the SQL procedural language. | |
1.0 | 1.0 | 1.0 | This extension supports the TCL procedural language. | |
3.3.2 | 3.3.2 | 3.3.2 | This extension is used to manage spatial geographic information in PostGIS. | |
3.3.2 | 3.3.2 | 3.3.2 | This extension is an extension of the SFCGAL plug-in and is used to manage spatial geographic information in PostGIS. | |
3.3.2 | 3.3.2 | 3.3.2 | This extension is used to manage PostGIS data in the TIGER format. | |
3.3.2 | 3.3.2 | 3.3.2 | This extension is used to manage topological objects in PostGIS. | |
q3c | - | - | 2.0.0 | This extension is used to create spatial indexes on a sphere. |
rdkit | - | - | 3.8 | This extension is used to deliver features such as molecular computing and search. |
0.5 | 0.5 | N/A | This extension is used to compute bitmaps to increase query performance. | |
RUM | 1.3 | 1.3 | N/A | This extension is used to efficiently perform full-text searches. |
- | 1.0.2 | 1.0.2 | This extension is used to generate sequential universally unique identifiers (UUIDs). | |
- | 1.0 | 1.0 | This extension is used to compute the similarity between two arrays of the same data type. | |
1.2 | 1.2 | 1.2 | This extension is used to obtain information about the SSL certificate that is provided by the connected client. | |
1.0 | 1.0 | 1.0 | This extension provides functions that are used to return tables. | |
tds_fdw | - | 2.0.2 | 2.0.2 | This extension allows you to query data from other types of databases. |
timescaledb | - | 2.14.2 | 2.9.2 | This extension enables automatic sharding, efficient writing and retrieval, and near-real-time aggregation of time-series data. |
1.0 | 1.0 | 1.0 | This extension provides the SYSTEM_ROWS table sampling method. | |
1.0 | 1.0 | 1.0 | This extension provides the SYSTEM_TIME table sampling method. | |
1.1 | 1.1 | 1.1 | This extension provides a text search dictionary that is used to remove accent marks or diacritic signs from lexemes. | |
1.1 | 1.1 | 1.1 | This extension provides functions that use a standard algorithm to generate UUIDs. | |
- | - | 1.0 | This extension supports various BIT-type operations. | |
- | 2.3 | 2.2 | This extension is used to export logical log records as a file in the JSON format. | |
1.1 | 1.1 | 1.1 | This extension provides XPath query and XSLT functionality. | |
1.0 | 1.0 | 1.0 | This extension supports full-text searches in Chinese. | |
- | N/A | 4.0 | This extension provides the text indexing and analytics features. |