This topic lists the extensions and their versions that are supported by different versions of PolarDB for PostgreSQL.
If your cluster does not support the features listed in the following table, you can upgrade the minor engine version to the latest version.
This page lists only common extensions. To view all supported extensions, you can run the
SELECT * FROM pg_available_extensions;command in your database.To use some plugins, you must add them to the
shared_preload_librariesparameter. Otherwise, you cannot create them.These plugins include
pg_stat_statements,auth_delay,passwordcheck,auto_explain,pgaudit,pg_bigm,pg_cron,pg_hint_plan,pg_prewarm,zhparser,timescaledb,pldebugger, andpg_jieba.When you add the pldebugger plugin to the
shared_preload_librariesparameter, set the value toplugin_debugger.
For more information about how to modify the
shared_preload_librariesparameter, see Set cluster parameters.When you create some extensions, such as
ganos_spatialref, in the default databasepostgres, you may receive a permission denied error (ERROR: permission denied for database postgres). If this happens, switch to a database that your current account owns and create the extension.If an error occurs when you install an extension, but the
SELECT * FROM pg_available_extensions;command shows that the extension is supported by your cluster, you can submit a ticket.
PolarDB for PostgreSQL has adjusted its extension support policy. Starting from April 27, 2023, some extensions can be created only on specific minor engine versions. This change does not affect extensions that are already created. For more information, see Some extensions for PolarDB for PostgreSQL can be created only on specific minor engine versions since April 27, 2023.
x86 architecture clusters
Extension name | PostgreSQL 18 | PostgreSQL 17 | PostgreSQL 16 | PostgreSQL 15 | PostgreSQL 14 | PostgreSQL 11 | Description |
3.3.7 | 3.3.7 | 3.3.7 | 3.3.7 | 3.3.7 | 3.3.4 | Provides address standardization. | |
3.3.7 | 3.3.7 | 3.3.7 | 3.3.7 | 3.3.7 | 3.3.4 | Provides U.S. data for address standardization. | |
- | - | 1.5.1 | 1.5.0 | 1.5.0 | - | A graph extension for the database. It uses the Cypher language to query graphs in the database. | |
1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | Provides an index access method based on Bloom filters. | |
1.3 | 1.3 | 1.3 | 1.3 | 1.3.1 | 1.3 | Provides a sample GIN operator class that implements B-tree equivalent behavior for multiple data types and all enum types. | |
1.8 | 1.7 | 1.7 | 1.7 | 1.6.1 | 1.5 | Provides a sample GiST operator class that implements B-tree equivalent behavior for multiple data types and all enum types. | |
1.8 | 1.6 | 1.6 | 1.6 | 1.6 | 1.5 | Provides a case-insensitive string type. | |
1.5 | 1.5 | 1.5 | 1.5 | 1.5 | 1.4 | Provides a data type to represent multidimensional cubes. | |
1.2 | 1.2 | 1.2 | 1.2 | 1.2 | 1.2 | Lets you query tables in other databases. | |
0.1.0 | 0.1.0 | 0.1.0 | 0.1.0 | 0.1.0 | 0.1.0 | Outputs data that is compatible with the Debezium platform based on the Protocol Buffers protocol. | |
1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | A sample add-on full-text search dictionary template. | |
1.2 | 1.2 | 1.2 | 1.1 | 1.1 | 1.1 | Provides two different methods to calculate great circle distances on the surface of the Earth. | |
1.2 | 1.2 | 1.2 | 1.1 | 1.1 | 1.1 | Determines the similarities and distances between strings. | |
7.8 | 7.7 | 7.9 | 7.7 | 7.9 | 6.8 | A toponym standardization extension based on the PAGC standard. | |
7.8 | 7.7 | 7.9 | 7.7 | 7.9 | 6.8 | A U.S. data extension for toponym standardization based on the PAGC standard. | |
7.8 | 7.7 | 7.9 | 7.7 | 7.9 | 6.8 | Provides computational analysis features for spatial geometry types. | |
7.8 | 7.7 | 7.9 | 7.7 | 7.9 | 6.8 | Used for fast display of 2D spatial geometry big data. | |
7.8 | 7.7 | 7.9 | 7.7 | 7.9 | 6.8 | Provides sfcgal extension features for spatial geometry. | |
7.8 | 7.7 | 7.9 | 7.7 | 7.9 | 6.8 | Provides computational analysis features for spatial geometry types. | |
7.8 | 7.7 | 7.9 | 7.7 | 7.9 | 6.8 | Provides computational analysis features for spatial geometry network types. | |
7.8 | 7.7 | 7.9 | 7.7 | 7.9 | 6.8 | Provides storage, computation, and analysis features for point clouds. | |
7.8 | 7.7 | 7.9 | 7.7 | 7.9 | 6.8 | Provides storage, computation, and analysis features for point clouds. | |
7.8 | 7.7 | 7.9 | 7.7 | 7.9 | 6.8 | Provides storage, computation, and analysis features for spatial raster data. | |
7.8 | 7.7 | 7.9 | 7.7 | 7.9 | 6.8 | Provides computational analysis features for spatial references. | |
7.8 | 7.7 | 7.9 | 7.7 | 7.9 | 6.8 | Provides data type support for USCB TIGER data. | |
7.8 | 7.7 | 7.9 | 7.7 | 7.9 | 6.8 | Provides computational analysis features for Ganos moving object data (MOD). | |
2.18 | 2.18 | 2.18 | 2.18 | 2.17 | 2.17 | Quickly estimates business metrics such as page views (PVs) and unique visitors (UVs). | |
1.8 | 1.8 | 1.8 | 1.8 | 1.8 | 1.5 | Stores key-value pairs within a single PostgreSQL value. | |
1.4.0 | - | 1.4.0 | 1.3.1 | 1.4.0 | 1.3.1 | Creates hypothetical indexes. | |
- | - | 1.0 | - | 1.0 | - | Supports similar image search. | |
1.1 | 1.1 | 1.1 | 1.1 | 1.1 | 1.1 | Provides an integer aggregator and an enumerator. | |
1.5 | 1.5 | 1.5 | 1.5 | 1.5 | 1.2 | Provides useful functions and operators to manipulate integer arrays that do not contain null values. | |
2.4 | 2.4 | 2.4 | 2.4 | 2.4 | 2.4 | Enables PostgreSQL to support IP address range types. | |
1.3 | 1.2 | 1.2 | 1.2 | 1.2 | 1.2 | Validates input against a hard-coded prefix list and is also used to concatenate numbers for output. | |
1.3 | 1.3 | 1.2 | 1.2 | 1.2 | 1.1 | Provides labels for data stored in a hierarchical tree-like structure. | |
mysql_fdw | 1.2 | 1.2 | 1.2 | 1.2 | 1.2 | 1.1 | Reads and writes data in MySQL databases. |
- | - | 1.1 | - | 1.1 | 1.1 | Reads and writes data in OSS. | |
0.0.1 | 0.0.1 | 0.0.1 | 0.0.1 | 0.0.1 | 0.0.1 | Provides efficient vector retrieval. | |
1.2 | 1.2 | 1.2 | 1.2 | 1.2 | 1.2 | Creates a 2-gram GIN index to accelerate full-text search. | |
1.6 | 1.6 | 1.6 | 1.4 | 1.5 | 1.3 | Provides a way to check the shared buffer in real time. | |
polar_concurrency_control | - | - | 1.0 | - | 1.0 | 1.0 | Provides concurrency control for SQL statements. |
polar_tde_utils | 1.0 | 1.0 | 1.0 | - | 1.0 | 1.0 | A transparent data encryption (TDE) extension for batch encryption and decryption. |
1.5 | 1.5 | 1.5 | 1.5 | 1.5 | 1.2 | Schedules tasks. | |
1.3 | 1.2 | 1.2 | 1.2 | 1.2 | 1.2 | Examines the free space map (FSM). | |
1.1.0 | 1.1.0 | 1.1.0 | 1.1.0 | 1.1.0 | 1.1.0 | Tokenize the full Chinese text. | |
- | - | - | - | 1.5 | 1.5 | A high-performance partitioned table extension. | |
- | - | 1.6.2 | - | 1.4.1 | 1.3.7 | Lets you use special comment statements to change the default execution plan of PostgreSQL. | |
- | 4.10 | 4.10 | 4.10 | 4.1 | 1.0 | Collects statistics on resource-intensive activities. | |
1.2 | 1.2 | 1.2 | 1.2 | 1.2 | 1.2 | Provides a convenient way to load data into the operating system buffer or the PostgreSQL buffer. | |
- | - | 1.0 | - | 1.0 | 1.0 | Provides spherical data types, functions, operators, and indexes for PostgreSQL. | |
2.3.1 | 2.3.0 | 2.3.0 | 2.3.0 | 2.2.1 | 2.2.1 | Collects statistics on system read and write information. | |
1.12 | 1.11 | 1.10.1 | 1.10 | 1.9.2 | 1.6 | Provides a way to track execution statistics of all SQL statements executed by a server. | |
1.6 | 1.6 | 1.6 | 1.6 | 1.6 | 1.4 | Provides functions and operators to determine the similarity of alphanumeric text, and index operator classes that support fast searches for similar strings. | |
18.1 | 17.1 | 16.1 | 1.7.1 | 1.6.2 | 1.3.3 | Provides detailed session and object audit logging. | |
1.4 | 1.3 | 1.3 | 1.3 | 1.3 | 1.3 | Provides cryptographic functions for PostgreSQL. | |
3.4.2 | 3.4.2 | 3.4.2 | 3.4.2 | 3.4.2 | 3.4.2 | Provides computational analysis features for spatial geometry networks. | |
1.2 | 1.2 | 1.2 | 1.2 | 1.2 | 1.2 | Provides a function to display row lock information for a specified table. | |
1.5 | 1.5 | 1.5 | 1.5 | 1.5 | 1.5 | Provides various functions to obtain tuple-level statistics. | |
0.8.0 | 0.8.0 | 0.8.0 | 0.8.0 | 0.8.0 | 0.5.0 | An extension for high-dimensional vector similarity search. | |
1.1 | 1.1 | 1.1 | 1.1 | 1.1 | 1.1 | A stored procedure debugger extension. | |
1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | Provides the Perl procedural language. | |
1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | Provides the SQL procedural language. | |
1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | Provides the Tcl procedural language. | |
3.3.7 | 3.3.7 | 3.3.7 | 3.3.7 | 3.3.7 | 3.3.4 | PostGIS extensions for spatial and geographic information. | |
3.3.7 | 3.3.7 | 3.3.7 | 3.3.7 | 3.3.7 | 3.3.4 | PostGIS SFCGAL extensions for spatial and geographic information. | |
3.3.7 | 3.3.7 | 3.3.7 | 3.3.7 | 3.3.7 | 3.3.4 | PostGIS TIGER data extensions for spatial and geographic information. | |
3.3.7 | 3.3.7 | 3.3.7 | 3.3.7 | 3.3.7 | 3.3.4 | PostGIS topology data extensions for spatial and geographic information. | |
q3c | - | - | - | - | - | 2.0.0 | Used for spatial indexing on a sphere. |
rdkit | - | - | - | - | - | 3.8 | Supports features such as cheminformatics and chemical molecule retrieval. |
0.5 | 0.5 | 0.5 | 0.5 | 0.5 | 0.5 | Uses bitmaps to improve query performance. | |
- | 1.3 | 1.3 | 1.3 | 1.3 | - | Provides high-speed full-text search. | |
1.0.3 | 1.0.3 | 1.0.3 | 1.0.3 | 1.0.2 | 1.0.2 | A UUID generator with a sequential pattern. | |
- | - | 1.0 | - | 1.0 | 1.0 | Calculates the similarity between two arrays of the same type. | |
1.2 | 1.2 | 1.2 | 1.2 | 1.2 | 1.2 | Provides information about the SSL certificate provided by the current client. | |
1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | This includes multiple table-returning functions. | |
tds_fdw | - | - | - | - | 2.0.2 | 2.0.2 | Queries data from other types of databases. |
timescaledb | - | - | 2.18.0 | - | 2.16.1 | 1.7.1 | Supports automatic sharding, efficient writes, retrieval, and near-real-time aggregation for time series data. |
1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | Provides the SYSTEM_ROWS table sampling method. | |
1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | Provides the SYSTEM_TIME table sampling method. | |
1.1 | 1.1 | 1.1 | 1.1 | 1.1 | 1.1 | A text search dictionary that can remove accents (diacritical marks) from lexemes. | |
1.1 | 1.1 | 1.1 | 1.1 | 1.1 | 1.1 | Provides functions to generate universally unique identifiers (UUIDs) using one of several standard algorithms. | |
1.1 | 1.1 | 1.1 | 1.1 | 1.1 | 1.1 | Supports various bit operations. | |
2.6 | 2.6 | 2.6 | 2.6 | 2.6 | 2.5 | Outputs logical log files in JSON format. | |
1.2 | 1.1 | 1.1 | 1.1 | 1.1 | 1.1 | Provides XPath query and XSLT features. | |
2.2 | 2.2 | 2.2 | 2.2 | 1.0 | 1.0 | Provides Chinese full-text search. | |
- | - | - | - | - | 4.0 | Provides powerful text indexing and analysis features. |