From db674a237809e29b5e2963c1d144c56b26d0aa41 Mon Sep 17 00:00:00 2001 From: Vonng Date: Mon, 20 May 2024 10:06:08 +0800 Subject: [PATCH] update postgres extension list --- README.md | 1 + docs/FEATURE.md | 8 +- docs/PGSQL-EXTENSION.md | 678 +++++++++++++++++++++------------ docs/README.md | 2 +- docs/zh/FEATURE.md | 8 +- docs/zh/PGSQL-EXTENSION.md | 756 +++++++++++++++++++++++++------------ docs/zh/README.md | 2 +- 7 files changed, 959 insertions(+), 496 deletions(-) diff --git a/README.md b/README.md index f8448e2e..4fb46cac 100644 --- a/README.md +++ b/README.md @@ -17,6 +17,7 @@ [![pigsty-desc](https://pigsty.io/img/pigsty/desc.png)](https://pigsty.io/) +There are **255** unique [extensions](https://pigsty.io/docs/reference/extension) available in Pigsty, **34** of which are maintained by Pigsty itself. ---------------- diff --git a/docs/FEATURE.md b/docs/FEATURE.md index a2889793..6e1234d7 100644 --- a/docs/FEATURE.md +++ b/docs/FEATURE.md @@ -9,7 +9,7 @@ ## Values -- [**Extensibility**](https://repo.pigsty.cc/img/pigsty-extension.jpg): Powerful [**Extensions**](PGSQL-EXTENSION) Ready for use: **PostGIS**, **TimescaleDB**, **Citus**, **PGVector**, Search, HTAP, AIML, and [**200+**](PGSQL-EXTENSION#extension-list) more. +- [**Extensibility**](https://repo.pigsty.cc/img/pigsty-extension.jpg): Powerful [**Extensions**](PGSQL-EXTENSION) Ready for use: **PostGIS**, **TimescaleDB**, **Citus**, **PGVector**, Search, HTAP, AIML, and [**255**](PGSQL-EXTENSION#extension-list) more. - [**Reliability**](https://repo.pigsty.cc/img/pigsty-arch.jpg): Create self-healing [**High Available**](PGSQL-ARCH#high-availability) [**PostgreSQL**](PGSQL) clusters with pre-configured [**PITR**](PGSQL-ARCH#point-in-time-recovery), built-in [**ACL**](PGSQL-ACL), [**CA**](PARAM#ca) & **SSL** in minutes. - [**Observability**](https://repo.pigsty.cc/img/pigsty-dashboard.jpg): Monitoring best practices build upon the modern **Prometheus** & **Grafana** stack: Check our live [**Demo**](https://demo.pigsty.cc) & [**Gallery**](https://github.com/Vonng/pigsty/wiki/Gallery). - [**Availability**](https://repo.pigsty.cc/img/pgsql-ha.jpg): Deliver auto-routed, high-performance, and flexible database [**Services**](PGSQL-SVC#default-service) [**Access**](PGSQL-SVC#access-service) with **haproxy**, **pgbouncer**, and VIP. @@ -24,7 +24,7 @@ ## Overview - [Battery-Included RDS](#battery-included-rds): Delivers production-ready PostgreSQL services from version 12-16 on Linux x86, spanning kernel to RDS distribution. -- [Plentiful Extensions](#plentiful-extensions): Integrates 200+ extensions, providing turnkey capabilities for time-series, geospatial, full-text-search, vector and more! +- [Plentiful Extensions](#plentiful-extensions): Integrates 255+ extensions, providing turnkey capabilities for time-series, geospatial, full-text-search, vector and more! - [Flexible Architecture](#flexible-architecture): Compose Redis/Etcd/MinIO/Mongo modules on nodes, monitoring existing cluster and remote RDS, self-hosting Supabase. - [Stunning Observability](#stunning-observability): Leveraging the Prometheus/Grafana modern observability stack, and provides unmatched database insights. - [Proven Reliability](#proven-reliability): Self-healing HA architecture with automatic failover and uninterrupted client access, and pre-configured PITR. @@ -33,7 +33,7 @@ - [Versatile Application](#versatile-application): Lots of applications work well with PostgreSQL. Run them in one command with docker. - [Open Source & Free](#open-source-amp-free): Pigsty is a free & open source software under AGPLv3. It was built for PostgreSQL with love. -- Battery-Included PostgreSQL distribution with **150+** optional [Extensions](PGSQL-EXTENSION). +- Battery-Included PostgreSQL distribution with **255** optional [Extensions](PGSQL-EXTENSION). - Run on bare OS without container: [EL](https://en.wikipedia.org/wiki/Red_Hat_Enterprise_Linux_derivatives) 7/8/9, [Ubuntu](https://ubuntu.com/) 20.04/22.04 and [Debian](https://www.debian.org/) 11/12. - Incredible observability powered by [Prometheus](https://prometheus.io/) & [Grafana](https://grafana.com/) stack. [Demo](https://demo.pigsty.cc) & [Gallery](https://github.com/Vonng/pigsty/wiki/Gallery). - Self-healing [HA](PGSQL-ARCH) PGSQL cluster, powered by [patroni](https://patroni.readthedocs.io/en/latest/), [haproxy](http://www.haproxy.org/), [etcd](https://etcd.io/). auto-tuned. @@ -81,7 +81,7 @@ All you need to do is run the command and connect with the given URL. PostgreSQL's has an unique [extension](PGSQL-EXTENSION#extension-list) ecosystem. Pigsty seamlessly integrates these powerful extensions, delivering turnkey distributed solutions for time-series, geospatial, and vector capabilities. -Pigsty boasts over **200+** PostgreSQL extensions, and maintaining some not found in official PGDG repositories. Rigorous testing ensures flawless integration for **core** extensions: Leverage [PostGIS](https://postgis.net/) for geospatial data, [TimescaleDB](https://www.timescale.com/) for time-series analysis, [Citus](https://www.citusdata.com/) for horizontal scale out, [PGVector](https://github.com/pgvector/pgvector) for AI embeddings, [Apache AGE](https://age.apache.org/) for graph data, and [zhparser](https://github.com/amutu/zhparser) for Full-Text Search. +Pigsty boasts over **255+** PostgreSQL extensions, and maintaining some not found in official PGDG repositories. Rigorous testing ensures flawless integration for **core** extensions: Leverage [PostGIS](https://postgis.net/) for geospatial data, [TimescaleDB](https://www.timescale.com/) for time-series analysis, [Citus](https://www.citusdata.com/) for horizontal scale out, [PGVector](https://github.com/pgvector/pgvector) for AI embeddings, [Apache AGE](https://age.apache.org/) for graph data, and [zhparser](https://github.com/amutu/zhparser) for Full-Text Search. You can also run self-hosted [Supabase](https://github.com/Vonng/pigsty/tree/master/app/supabase/README.md) & [PostgresML](https://github.com/Vonng/pigsty/tree/master/app/pgml) with Pigsty managed HA PostgreSQL. If you want to add your own extension, feel free to [suggest](https://github.com/Vonng/pigsty/discussions/333) or compile it by yourself. diff --git a/docs/PGSQL-EXTENSION.md b/docs/PGSQL-EXTENSION.md index b80e72db..0233f87f 100644 --- a/docs/PGSQL-EXTENSION.md +++ b/docs/PGSQL-EXTENSION.md @@ -4,7 +4,7 @@ Extensions are the soul of PostgreSQL, and Pigsty deeply integrates the core extension plugins of the PostgreSQL ecosystem, providing you with battery-included distributed temporal, geospatial text, graph, and vector database capabilities! Check [**extension list**](#extension-list) for details. -Pigsty includes over **150+** PostgreSQL extension plugins and has compiled, packaged, integrated, and maintained many extensions not included in the official PGDG source. +Pigsty includes over **255** PostgreSQL extension plugins and has compiled, packaged, integrated, and maintained many extensions not included in the official PGDG source. It also ensures through thorough testing that all these plugins can work together seamlessly. Including some potent extensions: - PostGIS: Add geospatial data support to PostgreSQL @@ -126,247 +126,441 @@ CREATE EXTENSION age; -- install the graph database extension ## Extension List -Currently, the major version PostgreSQL 16 has the following extensions available, here are the extensions RPMs maintained by Pigsty (only available on EL7/8/9): - -Pigsty has maintained and packaged 33 extensions for PostgreSQL 16 on EL systems, which are available on Pigsty's PGSQL repo for EL8 & EL9 systems: - -| name | version | source | comment | -|----------------------------------------------------------------------------|:---------:|:----------:|----------------------------------------------------------------------------------------------| -| [pgml](https://github.com/postgresml/postgresml) | 2.8.1 | **PIGSTY** | PostgresML: access most advanced machine learning algorithms and pretrained models with SQL | -| [age](https://github.com/apache/age) | 1.5.0 | **PIGSTY** | Apache AGE graph database extension | -| [pointcloud](https://github.com/pgpointcloud/pointcloud) | 1.2.5 | **PIGSTY** | A PostgreSQL extension for storing point cloud (LIDAR) data. | -| [pgsql-http](https://github.com/pramsey/pgsql-http) | 1.6 | **PIGSTY** | HTTP client for PostgreSQL, allows web page retrieval inside the database. | -| [pgsql-gzip](https://github.com/pramsey/pgsql-gzip) | 1.0 | **PIGSTY** | Gzip and unzip with SQL | -| [pg_tle](https://github.com/aws/pg_tle) | 1.4.0 | **PIGSTY** | Trusted Language Extensions for PostgreSQL | -| [roaringbitmap](https://github.com/ChenHuajun/pg_roaringbitmap) | 0.5 | **PIGSTY** | Support for Roaring Bitmaps | -| [zhparser](https://github.com/amutu/zhparser) | 2.2 | **PIGSTY** | Parser for full-text search of Chinese | -| [pg_net](https://github.com/supabase/pg_net) | 0.9.1 | **PIGSTY** | A PostgreSQL extension that enables asynchronous (non-blocking) HTTP/HTTPS requests with SQL | -| [pgjwt](https://github.com/michelp/pgjwt) | 0.2.0 | **PIGSTY** | JSON Web Token API for Postgresql | -| [pg_graphql](https://github.com/supabase/pg_graphql) | 1.5.4 | **PIGSTY** | GraphQL support to your PostgreSQL database. | -| [pg_jsonschema](https://github.com/supabase/pg_jsonschema) | 0.3.1 | **PIGSTY** | PostgreSQL extension providing JSON Schema validation | -| [vault](https://github.com/supabase/vault) | 0.2.9 | **PIGSTY** | Extension for storing encrypted secrets in the Vault | -| [hydra](https://github.com/hydradatabase/hydra) | 1.1.2 | **PIGSTY** | Hydra is open source, column-oriented Postgres extension | -| [wrappers](https://github.com/supabase/wrappers) | 0.3.1 | **PIGSTY** | Postgres Foreign Data Wrappers Collections by Supabase | -| [duckdb_fdw](https://github.com/alitrack/duckdb_fdw) | 1.1 | **PIGSTY** | DuckDB Foreign Data Wrapper | -| [pg_search](https://github.com/paradedb/paradedb/tree/dev/pg_search) | 0.7.0 | **PIGSTY** | Full text search over SQL tables using the BM25 algorithm | -| [pg_lakehouse](https://github.com/paradedb/paradedb/tree/dev/pg_lakehouse) | 0.7.0 | **PIGSTY** | ery engine over object stores like S3 and table formats like Delta Lake | -| [pg_analytics](https://github.com/paradedb/pg_analytics) | 0.6.1 | **PIGSTY** | Accelerates analytical query processing inside Postgres | -| [pgmq](https://github.com/tembo-io/pgmq) | 1.5.2 | **PIGSTY** | A lightweight message queue. Like AWS SQS and RSMQ but on Postgres. | -| [pg_tier](https://github.com/tembo-io/pg_tier) | 0.0.3 | **PIGSTY** | Postgres Extension written in Rust, to enable data tiering to AWS S3 | -| [pg_vectorize](https://github.com/tembo-io/pg_vectorize) | 0.15.0 | **PIGSTY** | The simplest way to orchestrate vector search on Postgres | -| [pg_later](https://github.com/tembo-io/pg_later) | 0.1.0 | **PIGSTY** | Execute SQL now and get the results later. | -| [pg_idkit](https://github.com/VADOSWARE/pg_idkit) | 0.2.3 | **PIGSTY** | Generating many popular types of identifiers | -| [plprql](https://github.com/kaspermarstal/plprql) | 0.1.0 | **PIGSTY** | Use PRQL in PostgreSQL | -| [pgsmcrypto](https://github.com/zhuobie/pgsmcrypto) | 0.1.0 | **PIGSTY** | PostgreSQL SM Algorithm Extension | -| [pg_tiktoken](https://github.com/kelvich/pg_tiktoken) | 0.0.1 | **PIGSTY** | OpenAI tiktoken tokenizer for postgres | -| [pgdd](https://github.com/rustprooflabs/pgdd) | 0.5.2 | **PIGSTY** | Access Data Dictionary metadata with pure SQL | -| [parquet_s3_fdw](https://github.com/pgspider/parquet_s3_fdw) | 1.1.0 | **PIGSTY** | ParquetS3 Foreign Data Wrapper for PostgresSQL | -| [plv8](https://github.com/plv8/plv8) | 3.2.2 | **PIGSTY** | V8 Engine Javascript Procedural Language add-on for PostgreSQL | -| [md5hash](https://github.com/tvondra/md5hash) | 1.0.1 | **PIGSTY** | Custom data type for storing MD5 hashes rather than text | -| [pg_tde](https://github.com/Percona-Lab/pg_tde) | 1.0-alpha | **PIGSTY** | Experimental encrypted access method for PostgreSQL | -| [pg_dirtyread](https://github.com/df7cb/pg_dirtyread) | 2.6 | **PIGSTY** | Read dead but unvacuumed tuples from a PostgreSQL relation | -| pg_bm25 ❋ | 0.5.6 | **PIGSTY** | ParadeDB: pg_bm25: Full text search for PostgreSQL using BM25 (rename to pg_search) | -| svector ❋ | 0.5.6 | **PIGSTY** | pg_sparse: Sparse vector data type and sparse HNSW access methods (depreciated) | -| imgsmlr ❋ | 1.0.0 | **PIGSTY** | ImgSmlr method is based on Haar wavelet transform (pg 16 not supported) | -| pg_similarity ❋ | 1.0.0 | **PIGSTY** | set of functions and operators for executing similarity queries(covered by pgvector) | -| pg_bigm ❋ | 1.2.0 | **PIGSTY** | full text search capability with create 2-gram (bigram) index. (pg 16 not supported) | +Pigsty has rich support for PostgreSQL extensions, including **230** [**RPM extensions**](#rpm-extension) and **189** [**DEB extensions**](#deb-extension). + +There are **255** unique extensions in total (rpm + deb + contrib), including **73** common [**contrib extensions**](#built-in-extensions) and **91** extensions both available to rpm/deb 。 + +Pigsty also maintains **34** RPM Extensions and **10** DEB extensions in its [own repo](#pigsty-extensions). + + +----------------- + +### RPM Extension + +Pigsty has **230** extensions available on [EL](/docs/reference/compatibility#el-distribution-support) compatible distros. +Including **73** [contrib extensions](#contrib-extension) and **157** extra RPM extensions, **34** of which are maintained by Pigsty. + +> Based on el8, there are 6 extensions not yet ready for PG 16 (marked with `❋`), so the available count is 224, actually. + +| name | version | category | repo | pkg | description | comment | +|:-----------------------------|:--------|:---------|:----------------|:----------------------------|:----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:--------------------| +| **pg_cron** | 1.6 | ADMIN | pgdg16 | pg_cron_16 | Job scheduler for PostgreSQL | | +| **pg_repack** | 1.5.0 | ADMIN | pgdg16 | pg_repack_16 | Reorganize tables in PostgreSQL databases with minimal locks | | +| ddlx | 0.27 | ADMIN | pgdg16 | ddlx_16 | DDL eXtractor functions | | +| pg_dirtyread | 2 | ADMIN | pigsty-pgsql | pg_dirtyread_16 | Read dead but unvacuumed rows from table | | +| pg_readonly | 1.0.0 | ADMIN | pgdg16 | pg_readonly_16 | cluster database read only | | +| pg_squeeze | 1.6 | ADMIN | pgdg16 | pg_squeeze_16 | A tool to remove unused space from a relation. | | +| pgagent | 4.2 | ADMIN | pgdg16 | pgagent_16 | A PostgreSQL job scheduler | | +| pgautofailover | 2.1 | ADMIN | pgdg16 | pg_auto_failover_16 | pg_auto_failover | | +| pgdd | 0.5.2 | ADMIN | pigsty-pgsql | pgdd_16 | An in-database data dictionary providing database introspection via standard SQL query syntax. Developed using pgx (https://github.com/zombodb/pgx). | | +| pgfincore | 1.3.1 | ADMIN | pgdg16 | pgfincore_16 | examine and manage the os buffer cache | | +| pgl_ddl_deploy | 2.2 | ADMIN | pgdg16 | pgl_ddl_deploy_16 | automated ddl deployment using pglogical | | +| pgpool_adm | 1.5 | ADMIN | pgdg16 | pgpool-II-pg16-extensions | Administrative functions for pgPool | | +| pgpool_recovery | 1.4 | ADMIN | pgdg16 | pgpool-II-pg16-extensions | recovery functions for pgpool-II for V4.3 | | +| pgpool_regclass | 1.0 | ADMIN | pgdg16 | pgpool-II-pg16-extensions | replacement for regclass | | +| prioritize | 1.0 | ADMIN | pgdg16 | prioritize_16 | get and set the priority of PostgreSQL backends | | +| safeupdate | 1.4 | ADMIN | pgdg16 | safeupdate_16 | Require criteria for UPDATE and DELETE | | +| **pgml** | 2.8.1 | AI | pigsty-pgsql | pgml_16 | PostgresML: Run AL/ML workloads with SQL interface | | +| **vector** | 0.7.0 | AI | pgdg16 | pgvector_16 | vector data type and ivfflat and hnsw access methods | | +| pg_tiktoken | 0.0.1 | AI | pigsty-pgsql | pg_tiktoken_16 | pg_tictoken: tiktoken tokenizer for use with OpenAI models in postgres | | +| svector | 0.6.1 | AI | pigsty-pgsql | pg_sparse_16 | pg_sparse: Sparse vector data type and sparse HNSW access methods | obsolete | +| vectorize | 0.15.0 | AI | pigsty-pgsql | pg_vectorize_16 | The simplest way to do vector search on Postgres | deps: pgmq, pg_cron | +| **wal2json** | 2.5.3 | ETL | pgdg16 | wal2json_16 | Changing data capture in JSON format | | +| decoderbufs | 0.1.0 | ETL | pgdg16 | postgres-decoderbufs_16 | Logical decoding plugin that delivers WAL stream changes using a Protocol Buffer format | | +| pg_bulkload | 3.1.21 | ETL | pgdg16 | pg_bulkload_16 | pg_bulkload is a high speed data loading utility for PostgreSQL | | +| pg_fact_loader | 2.0 | ETL | pgdg16 | pg_fact_loader_16 | build fact tables with Postgres | | +| **wrappers** | 0.3.1 | FDW | pigsty-pgsql | wrappers_16 | Foreign data wrappers developed by Supabase | | +| db2_fdw | 6.0.1 | FDW | pgdg16-non-free | db2_fdw_16 | foreign data wrapper for DB2 access | extra db2 deps | +| hdfs_fdw | 2.0.5 | FDW | pgdg16 | hdfs_fdw_16 | foreign-data wrapper for remote hdfs servers | | +| mongo_fdw | 1.1 | FDW | pgdg16 | mongo_fdw_16 | foreign data wrapper for MongoDB access | | +| mysql_fdw | 1.2 | FDW | pgdg16 | mysql_fdw_16 | Foreign data wrapper for querying a MySQL server | | +| ogr_fdw | 1.1 | FDW | pgdg16 | ogr_fdw_16 | foreign-data wrapper for GIS data access | | +| oracle_fdw | 1.2 | FDW | pgdg16-non-free | oracle_fdw_16 | foreign data wrapper for Oracle access | extra oracle deps | +| pgbouncer_fdw | 1.1.0 | FDW | pgdg16 | pgbouncer_fdw_16 | Extension for querying PgBouncer stats from normal SQL views & running pgbouncer commands from normal SQL functions | | +| sqlite_fdw | 1.1 | FDW | pgdg16 | sqlite_fdw_16 | SQLite Foreign Data Wrapper | | +| tds_fdw | 2.0.3 | FDW | pgdg16 | tds_fdw_16 | Foreign data wrapper for querying a TDS database (Sybase or Microsoft SQL Server) | | +| **age** | 1.5.0 | FEAT | pigsty-pgsql | age_16 | AGE graph database extension | | +| **pg_graphql** | 1.5.4 | FEAT | pigsty-pgsql | pg_graphql_16 | pg_graphql: GraphQL support | | +| **pg_jsonschema** | 0.3.1 | FEAT | pigsty-pgsql | pg_jsonschema_16 | PostgreSQL extension providing JSON Schema validation | | +| **pg_strom** | 5.1 | FEAT | pgdg16-non-free | pg_strom_16 | PG-Strom - big-data processing acceleration using GPU and NVME | extra cuda deps | +| **pgmq** | 1.1.1 | FEAT | pigsty-pgsql | pgmq_16 | A lightweight message queue. Like AWS SQS and RSMQ but on Postgres. | | +| **pgq** | 3.5.1 | FEAT | pgdg16 | pgq_16 | Generic queue for PostgreSQL | | +| emaj | 4.4.0 | FEAT | pgdg16 | e-maj_16 | E-Maj extension enables fine-grained write logging and time travel on subsets of the database. | | +| hll | 2.18 | FEAT | pgdg16 | hll_16 | type for storing hyperloglog data | | +| hypopg | 1.4.1 | FEAT | pgdg16 | hypopg_16 | Hypothetical indexes for PostgreSQL | | +| jsquery | 1.1 | FEAT | pgdg16 | jsquery_16 | data type for jsonb inspection | | +| periods | 1.2 | FEAT | pgdg16 | periods_16 | Provide Standard SQL functionality for PERIODs and SYSTEM VERSIONING | | +| pg_hint_plan | 1.6.0 | FEAT | pgdg16 | pg_hint_plan_16 | Give PostgreSQL ability to manually force some decisions in execution plans. | | +| pg_ivm | 1.8 | FEAT | pgdg16 | pg_ivm_16 | incremental view maintenance on PostgreSQL | | +| pgtt | 3.1.0 | FEAT | pgdg16 | pgtt_16 | Extension to add Global Temporary Tables feature to PostgreSQL | | +| rum | 1.3 | FEAT | pgdg16 | rum_16 | RUM index access method | | +| table_version | 1.10.3 | FEAT | pgdg16 | table_version_16 | PostgreSQL table versioning extension | | +| temporal_tables | 1.2.2 | FEAT | pgdg16 | temporal_tables_16 | temporal tables | | +| **pg_net** | 0.9.1 | FUNC | pgdg16 | pg_net_16 | Async HTTP | | +| count_distinct | 3.0.1 | FUNC | pgdg16 | count_distinct_16 | An alternative to COUNT(DISTINCT ...) aggregate, usable with HashAggregate | | +| extra_window_functions | 1.0 | FUNC | pgdg16 | extra_window_functions_16 | Extra Window Functions for PostgreSQL | | +| gzip | 1.0 | FUNC | pgdg16 | pgsql_gzip_16 | gzip and gunzip functions. | new in pgdg | +| http | 1.6 | FUNC | pgdg16 | pgsql_http_16 | HTTP client for PostgreSQL, allows web page retrieval inside the database. | new in pgdg | +| pg_background | 1.0 | FUNC | pgdg16 | pg_background_16 | Run SQL queries in the background | | +| pg_idkit | 0.2.3 | FUNC | pigsty-pgsql | pg_idkit_16 | multi-tool for generating new/niche universally unique identifiers (ex. UUIDv6, ULID, KSUID) | | +| pg_later | 0.1.0 | FUNC | pigsty-pgsql | pg_later_16 | pg_later: Run queries now and get results later | dep: pgmq | +| pgjwt | 0.2.0 | FUNC | pigsty-pgsql | pgjwt_16 | JSON Web Token API for Postgresql | | +| pgsql_tweaks | 0.10.2 | FUNC | pgdg16 | pgsql_tweaks_16 | Some functions and views for daily usage | | +| tdigest | 1.4.1 | FUNC | pgdg16 | tdigest_16 | Provides tdigest aggregate function. | | +| topn | 2.6.0 | FUNC | pgdg16 | topn_16 | type for top-n JSONB | | +| **postgis** | 3.4.2 | GIS | pgdg16 | postgis34_16 | PostGIS geometry and geography spatial types and functions | | +| address_standardizer | 3.4.2 | GIS | pgdg16 | postgis34_16 | Used to parse an address into constituent elements. Generally used to support geocoding address normalization step. | | +| address_standardizer_data_us | 3.4.2 | GIS | pgdg16 | postgis34_16 | Address Standardizer US dataset example | | +| h3 | 4.1.3 | GIS | pgdg16 | h3-pg_16 | H3 bindings for PostgreSQL | | +| h3_postgis | 4.1.3 | GIS | pgdg16 | h3-pg_16 | H3 PostGIS integration | | +| pgrouting | 3.6.0 | GIS | pgdg16 | pgrouting_16 | pgRouting Extension | | +| pointcloud | 1.2.5 | GIS | pigsty-pgsql | pointcloud_16 | data type for lidar point clouds | | +| pointcloud_postgis | 1.2.5 | GIS | pgdg16 | pointcloud_16 | integration for pointcloud LIDAR data and PostGIS geometry data | | +| postgis_raster | 3.4.2 | GIS | pgdg16 | postgis34_16 | PostGIS raster types and functions | | +| postgis_sfcgal | 3.4.2 | GIS | pgdg16 | postgis34_16 | PostGIS SFCGAL functions | | +| postgis_tiger_geocoder | 3.4.2 | GIS | pgdg16 | postgis34_16 | PostGIS tiger geocoder and reverse geocoder | | +| postgis_topology | 3.4.2 | GIS | pgdg16 | postgis34_16 | PostGIS topology spatial types and functions | | +| **plv8** | 3.2.2 | LANG | pigsty-pgsql | plv8_16 | PL/JavaScript (v8) trusted procedural language | | +| pg_tle | 1.4.0 | LANG | pigsty-pgsql | pg_tle_16 | Trusted Language Extensions for PostgreSQL | | +| pldbgapi | 1.1 | LANG | pgdg16 | pldebugger_16 | server-side support for debugging PL/pgSQL functions | | +| pllua | 2.0 | LANG | pgdg16 | pllua_16 | Lua as a procedural language | | +| plluau | 2.0 | LANG | pgdg16 | pllua_16 | Lua as an untrusted procedural language | | +| plpgsql_check | 2.7 | LANG | pgdg16 | plpgsql_check_16 | extended check for plpgsql functions | | +| plprql | 0.1.0 | LANG | pigsty-pgsql | plprql_16 | Use PRQL in PostgreSQL - Pipelined Relational Query Language | | +| plr | 8.4.6 | LANG | pgdg16 | plr_16 | load R interpreter and execute R script from within a database | | +| plsh | 2 | LANG | pgdg16 | plsh_16 | PL/sh procedural language | | +| **columnar** | 11.1-11 | OLAP | pigsty-pgsql | hydra_16 | Hydra Columnar extension | hydra 1.1.2 | +| **duckdb_fdw** | 1.1 | OLAP | pigsty-pgsql | duckdb_fdw_16 | DuckDB Foreign Data Wrapper | libduckdb 0.10.2 | +| **parquet_s3_fdw** | 0.3 | OLAP | pigsty-pgsql | parquet_s3_fdw_16 | foreign-data wrapper for parquet on S3/MinIO | deps: libarrow-s3 | +| **pg_analytics** | 0.6.1 | OLAP | pigsty-pgsql | pg_analytics_16 | Real-time analytics for PostgreSQL using columnar storage and vectorized execution | | +| **pg_lakehouse** | 0.7.0 | OLAP | pigsty-pgsql | pg_lakehouse_16 | pg_lakehouse: An analytical query engine for Postgres | rust | +| **timescaledb** | 2.15.0 | OLAP | timescaledb | timescaledb-2-postgresql-16 | Enables scalable inserts and complex queries for time-series data (Apache 2 Edition) | | +| citus_columnar | 11.3-1 | OLAP | pgdg16 | citus_16 | Citus columnar storage engine | citus | +| pg_tier | 0.0.3 | OLAP | pigsty-pgsql | pg_tier_16 | pg_tier: tiered storage developed by tembo.io | 依赖parquet_s3_fdw | +| **pglogical** | 2.4.4 | REPL | pgdg16 | pglogical_16 | PostgreSQL Logical Replication | | +| pglogical_origin | 1.0.0 | REPL | pgdg16 | pglogical_16 | Dummy extension for compatibility when upgrading from Postgres 9.4 | | +| repmgr | 5.4 | REPL | pgdg16 | repmgr_16 | Replication manager for PostgreSQL | | +| **pg_search** | 0.7.0 | SEARCH | pigsty-pgsql | pg_search_16 | pg_search: Full text search for PostgreSQL using BM25 | old name: pg_bm25 | +| **zhparser** | 2.2 | SEARCH | pigsty-pgsql | zhparser_16 | a parser for full-text search of Chinese | deps: scws | +| pg_bigm | 1.2 | SEARCH | pgdg16 | pg_bigm_16 | create 2-gram (bigram) index for faster full text search. | | +| **pg_tde** | 1.0 | SEC | pigsty-pgsql | pg_tde_16 | pg_tde access method | alpha | +| **pgsmcrypto** | 0.1.0 | SEC | pigsty-pgsql | pgsmcrypto_16 | PostgreSQL SM Algorithm Extension | | +| anon | 1.3.2 | SEC | pgdg16 | postgresql_anonymizer_16 | Data anonymization tools | | +| credcheck | 2.7.0 | SEC | pgdg16 | credcheck_16 | credcheck - postgresql plain text credential checker | | +| logerrors | 2.1 | SEC | pgdg16 | logerrors_16 | Function for collecting statistics about messages in logfile | | +| login_hook | 1.5 | SEC | pgdg16 | login_hook_16 | login_hook - hook to execute login_hook.login() at login time | | +| passwordcracklib | 3.0.0 | SEC | pgdg16 | passwordcracklib_16 | Strengthen PostgreSQL user password checks with cracklib | | +| pg_auth_mon | 1.1 | SEC | pgdg16 | pg_auth_mon_16 | monitor connection attempts per user | | +| pg_jobmon | 1.4.1 | SEC | pgdg16 | pg_jobmon_16 | Extension for logging and monitoring functions in PostgreSQL | | +| pgaudit | 16.0 | SEC | pgdg16 | pgaudit_16 | provides auditing functionality | | +| pgauditlogtofile | 1.5 | SEC | pgdg16 | pgauditlogtofile_16 | pgAudit addon to redirect audit log to an independent file | | +| pgcryptokey | 1.0 | SEC | pgdg16 | pgcryptokey_16 | cryptographic key management | | +| pgsodium | 3.1.9 | SEC | pgdg16 | pgsodium_16 | Postgres extension for libsodium functions | | +| set_user | 4.0.1 | SEC | pgdg16 | set_user_16 | similar to SET ROLE but with added logging | | +| supabase_vault | 0.2.8 | SEC | pigsty-pgsql | vault_16 | Supabase Vault Extension | | +| **citus** | 12.1-1 | SHARD | pgdg16 | citus_16 | Distributed PostgreSQL as an extension | | +| pg_fkpart | 1.7 | SHARD | pgdg16 | pg_fkpart_16 | Table partitioning by foreign key utility | | +| pg_partman | 5.1.0 | SHARD | pgdg16 | pg_partman_16 | Extension to manage partitioned tables by time or ID | | +| orafce | 4.10 | SIM | pgdg16 | orafce_16 | Functions and operators that emulate a subset of functions and packages from the Oracle RDBMS | | +| pg_dbms_job | 1.5.0 | SIM | pgdg16 | pg_dbms_job_16 | Extension to add Oracle DBMS_JOB full compatibility to PostgreSQL | | +| pg_dbms_lock | 1.0.0 | SIM | pgdg16 | pg_dbms_lock_16 | Extension to add Oracle DBMS_LOCK full compatibility to PostgreSQL | | +| pg_dbms_metadata | 1.0.0 | SIM | pgdg16 | pg_dbms_metadata_16 | Extension to add Oracle DBMS_METADATA compatibility to PostgreSQL | | +| pg_extra_time | 1.1.2 | SIM | pgdg16 | pg_extra_time_16 | Some date time functions and operators that, | | +| pgmemcache | 2.3.0 | SIM | pgdg16 | pgmemcache_16 | memcached interface | | +| pg_permissions | 1.1 | STAT | pgdg16 | pg_permissions_16 | view object permissions and compare them with the desired state | | +| pg_profile | 4.6 | STAT | pgdg16 | pg_profile_16 | PostgreSQL load profile repository and report builder | | +| pg_qualstats | 2.1.0 | STAT | pgdg16 | pg_qualstats_16 | An extension collecting statistics about quals | | +| pg_show_plans | 2.1 | STAT | pgdg16 | pg_show_plans_16 | show query plans of all currently running SQL statements | | +| pg_stat_kcache | 2.2.3 | STAT | pgdg16 | pg_stat_kcache_16 | Kernel statistics gathering | | +| pg_stat_monitor | 2.0 | STAT | pgdg16 | pg_stat_monitor_16 | The pg_stat_monitor is a PostgreSQL Query Performance Monitoring tool, based on PostgreSQL contrib module pg_stat_statements. pg_stat_monitor provides aggregated statistics, client information, plan details including plan, and histogram information. | | +| pg_statviz | 0.6 | STAT | pgdg16 | pg_statviz_extension_16 | stats visualization and time series analysis | | +| pg_store_plans | 1.8 | STAT | pgdg16 | pg_store_plans_16 | track plan statistics of all SQL statements executed | | +| pg_track_settings | 2.1.2 | STAT | pgdg16 | pg_track_settings_16 | Track settings changes | | +| pg_wait_sampling | 1.1 | STAT | pgdg16 | pg_wait_sampling_16 | sampling based statistics of wait events | | +| pgexporter_ext | 0.2.3 | STAT | pgdg16 | pgexporter_ext_16 | pgexporter extension for extra metrics | | +| pgmeminfo | 1.0 | STAT | pgdg16 | pgmeminfo_16 | show memory usage | | +| plprofiler | 4.2 | STAT | pgdg16 | plprofiler_16 | server-side support for profiling PL/pgSQL functions | | +| powa | 4.2.2 | STAT | pgdg16 | powa_16 | PostgreSQL Workload Analyser-core | | +| system_stats | 2.0 | STAT | pgdg16 | system_stats_16 | EnterpriseDB system statistics for PostgreSQL | | +| dbt2 | 0.45.0 | TEST | pgdg16 | dbt2-pg16-extensions | OSDL-DBT-2 test kit | | +| faker | 0.5.3 | TEST | pgdg16 | postgresql_faker_16 | Wrapper for the Faker Python library | postgresql_faker | +| pgtap | 1.3.3 | TEST | pgdg16 | pgtap_16 | Unit testing for PostgreSQL | | +| ip4r | 2.4 | TYPE | pgdg16 | ip4r_16 | IPv4/v6 and IPv4/v6 range index type for PostgreSQL | | +| md5hash | 1.0.1 | TYPE | pigsty-pgsql | md5hash_16 | type for storing 128-bit binary data inline | | +| pg_uuidv7 | 1.5 | TYPE | pgdg16 | pg_uuidv7_16 | pg_uuidv7: create UUIDv7 values in postgres | | +| pgmp | 1.1 | TYPE | pgdg16 | pgmp_16 | Multiple Precision Arithmetic extension | | +| prefix | 1.2.0 | TYPE | pgdg16 | prefix_16 | Prefix Range module for PostgreSQL | | +| roaringbitmap | 0.5 | TYPE | pigsty-pgsql | pg_roaringbitmap_16 | support for Roaring Bitmaps | | +| semver | 0.32.1 | TYPE | pgdg16 | semver_16 | Semantic version data type | | +| timestamp9 | 1.4.0 | TYPE | pgdg16 | timestamp9_16 | timestamp nanosecond resolution | | +| uint | 0 | TYPE | pgdg16 | uint_16 | unsigned integer types | | +| unit | 7 | TYPE | pgdg16 | postgresql-unit_16 | SI units extension | | +| imgsmlr ❋ | 1.0.0 | AI | pigsty-pgsql | imgsmlr_16 | Image similarity with haar | | +| pg_similarity ❋ | 1.0.0 | AI | pigsty-pgsql | pg_similarity_16 | support similarity queries | | +| multicorn ❋ | 2.4 | FDW | pgdg16 | multicorn2_16 | Fetch foreign data in Python in your PostgreSQL server. | | +| geoip ❋ | 0.2.4 | GIS | pgdg16 | geoip_16 | IP-based geolocation query | | +| plproxy ❋ | 2.10.0 | SHARD | pgdg16 | plproxy_16 | Database partitioning implemented as procedural language | | +| mysqlcompat ❋ | 0.0.7 | SIM | pgdg16 | mysqlcompat_16 | A reimplemenation of as many MySQL functions as possible in PostgreSQL | | + + +----------------- + +### DEB Extension + +Pigsty has **189** available extensions on [Debian systems](/docs/reference/compatibility#deb-distribution-support), +including **73** PostgreSQL [contrib extensions](#contrib-extension) and **116** extra deb extensions, **10** of which are maintained by Pigsty. + +> Based on Debian 12 & Ubuntu 22.04, which may have very slight differences in available extensions: + +| name | version | category | repo | pkg | description | comment | +|:-------------------------------|:--------|:---------|:-------------|:-------------------------------------|:--------------------------------------------------------------------------------------------------------------------|:------------------------| +| **pg_cron** | 1.6 | ADMIN | pgdg16 | postgresql-16-cron | Job scheduler for PostgreSQL | | +| **pg_repack** | 1.5.0 | ADMIN | pgdg16 | postgresql-16-repack | Reorganize tables in PostgreSQL databases with minimal locks | | +| pg_dirtyread | 2 | ADMIN | pgdg16 | postgresql-16-dirtyread | Read dead but unvacuumed rows from table | | +| pg_squeeze | 1.6 | ADMIN | pgdg16 | postgresql-16-pgsphere | A tool to remove unused space from a relation. | | +| pgagent | 4.2 | ADMIN | pgdg16 | postgresql-16-pgagent | A PostgreSQL job scheduler | | +| pgautofailover | 2.1 | ADMIN | pgdg16 | postgresql-16-auto-failover | pg_auto_failover | | +| pgdd | 0.5.2 | ADMIN | pigsty-pgsql | pgdd | An in-database data dictionary providing database introspection via standard SQL query syntax | ubuntu22 only | +| pgfincore | 1.3.1 | ADMIN | pgdg16 | postgresql-16-pgfincore | examine and manage the os buffer cache | | +| pgl_ddl_deploy | 2.2 | ADMIN | pgdg16 | postgresql-16-pgl-ddl-deploy | automated ddl deployment using pglogical | | +| pgpool_adm | 1.4 | ADMIN | pgdg16 | postgresql-16-pgpool2 | Administrative functions for pgPool | | +| pgpool_recovery | 1.4 | ADMIN | pgdg16 | postgresql-16-pgpool2 | recovery functions for pgpool-II for V4.3 | | +| pgpool_regclass | 1.0 | ADMIN | pgdg16 | postgresql-16-pgpool2 | replacement for regclass | | +| prioritize | 1.0 | ADMIN | pgdg16 | postgresql-16-prioritize | get and set the priority of PostgreSQL backends | | +| toastinfo | 1 | ADMIN | pgdg16 | postgresql-16-toastinfo | show details on toasted datums | | +| **pgml** | 2.8.1 | AI | pgml | postgresql-16-pgml | PostgresML: Run AL/ML workloads with SQL interface | | +| **vector** | 0.7.0 | AI | pgdg16 | postgresql-16-pgvector | vector data type and ivfflat and hnsw access methods | | +| pg_similarity | 1.0 | AI | pgdg16 | postgresql-16-similarity | support similarity queries | | +| svector | 0.6.1 | AI | pigsty-pgsql | pg-sparse | pg_sparse: Sparse vector data type and sparse HNSW access methods | depreciated | +| **wal2json** | 2.5.3 | ETL | pgdg16 | postgresql-16-wal2json | Changing data capture in JSON format | | +| decoderbufs | 0.1.0 | ETL | pgdg16 | postgresql-16-decoderbufs | Logical decoding plugin that delivers WAL stream changes using a Protocol Buffer format | | +| pg_fact_loader | 2.0 | ETL | pgdg16 | postgresql-16-pg-fact-loader | build fact tables with Postgres | | +| **wrappers** | 0.3.1 | FDW | pigsty-pgsql | wrappers | Postgres Foreign Data Wrappers by Supabase | rust | +| mysql_fdw | 1.2 | FDW | pgdg16 | postgresql-16-mysql-fdw | Foreign data wrapper for querying a MySQL server | | +| ogr_fdw | 1.1 | FDW | pgdg16 | postgresql-16-ogr-fdw | foreign-data wrapper for GIS data access | | +| oracle_fdw | 1.2 | FDW | pgdg16 | postgresql-16-oracle-fdw | foreign data wrapper for Oracle access | | +| tds_fdw | 2.0.3 | FDW | pgdg16 | postgresql-16-tds-fdw | Foreign data wrapper for querying a TDS database (Sybase or Microsoft SQL Server) | | +| **age** | 1.5.0 | FEAT | pgdg16 | postgresql-16-age | AGE graph database extension | | +| **pg_graphql** | 1.5.4 | FEAT | pigsty-pgsql | pg-graphql | pg_graphql: GraphQL support | | +| **pg_jsonschema** | 0.3.1 | FEAT | pigsty-pgsql | pg-jsonschema | PostgreSQL extension providing JSON Schema validation | rust | +| **rdkit** | 4.3.0 | FEAT | pgdg16 | postgresql-16-rdkit | Cheminformatics functionality for PostgreSQL. | | +| hll | 2.18 | FEAT | pgdg16 | postgresql-16-hll | type for storing hyperloglog data | | +| hypopg | 1.4.1 | FEAT | pgdg16 | postgresql-16-hypopg | Hypothetical indexes for PostgreSQL | | +| jsquery | 1.1 | FEAT | pgdg16 | postgresql-16-jsquery | data type for jsonb inspection | | +| periods | 1.2 | FEAT | pgdg16 | postgresql-16-periods | Provide Standard SQL functionality for PERIODs and SYSTEM VERSIONING | | +| pg_hint_plan | 1.6.0 | FEAT | pgdg16 | postgresql-16-pg-hint-plan | Give PostgreSQL ability to manually force some decisions in execution plans. | | +| pgq | 3.5 | FEAT | pgdg16 | postgresql-16-pgq | Generic queue for PostgreSQL | | +| pgq_node | 3.5 | FEAT | pgdg16 | postgresql-16-pgq | Generic queue for PostgreSQL, node extension | | +| pre_prepare | 0.4 | FEAT | pgdg16 | postgresql-16-preprepare | Prepare your prepare statement on server-side | | +| rum | 1.3 | FEAT | pgdg16 | postgresql-16-rum | RUM index access method | | +| **pg_net** | 0.9.1 | FUNC | pigsty-pgsql | pg-net | Enables asynchronous (non-blocking) HTTP/HTTPS requests with SQL | rust | +| extra_window_functions | 1.0 | FUNC | pgdg16 | postgresql-16-extra-window-functions | Extra Window Functions for PostgreSQL | | +| first_last_agg | 0.1.4 | FUNC | pgdg16 | postgresql-16-first-last-agg | first() and last() aggregate functions | | +| http | 1.6 | FUNC | pgdg16 | postgresql-16-http | HTTP client for PostgreSQL, allows web page retrieval inside the database. | | +| icu_ext | 1.8 | FUNC | pgdg16 | postgresql-16-icu-ext | PostgreSQL extension (in C) to expose functionality from the ICU library | | +| pg_sphere | 1.5.1 | FUNC | pgdg16 | postgresql-16-pg_sphere | spherical objects with useful functions, operators and index support | | +| pgpcre | 1 | FUNC | pgdg16 | postgresql-16-pgpcre | Perl Compatible Regular Expression functions | | +| q3c | 2.0.1 | FUNC | pgdg16 | postgresql-16-q3c | q3c sky indexing plugin | | +| tdigest | 1.4.1 | FUNC | pgdg16 | postgresql-16-tdigest | Provides tdigest aggregate function. | | +| topn | 2.6.0 | FUNC | pgdg16 | postgresql-16-topn | type for top-n JSONB | | +| **postgis-3** | 3.4.2 | GIS | pgdg16 | postgresql-16-postgis-3 | PostGIS geometry and geography spatial types and functions | | +| address_standardizer-3 | 3.4.2 | GIS | pgdg16 | postgresql-16-postgis-3 | Used to parse an address into constituent elements. Generally used to support geocoding address normalization step. | | +| address_standardizer_data_us-3 | 3.4.2 | GIS | pgdg16 | postgresql-16-postgis-3 | Address Standardizer US dataset example | | +| h3 | 4.1.3 | GIS | pgdg16 | postgresql-16-h3 | H3 bindings for PostgreSQL | | +| h3_postgis | 4.1.3 | GIS | pgdg16 | postgresql-16-h3 | H3 PostGIS integration | | +| ip4r | 2.4 | GIS | pgdg16 | postgresql-16-ip4r | IPv4/v6 and IPv4/v6 range index type for PostgreSQL | | +| mobilitydb | 1.1.1 | GIS | pgdg16 | postgresql-16-mobilitydb | MobilityDB geospatial trajectory data management & analysis platform | | +| pgrouting | 3.6.2 | GIS | pgdg16 | postgresql-16-pgrouting | pgRouting Extension | | +| pointcloud | 1.2.5 | GIS | pgdg16 | postgresql-16-pointcloud | data type for lidar point clouds | | +| pointcloud_postgis | 1.2.5 | GIS | pgdg16 | postgresql-16-pointcloud | integration for pointcloud LIDAR data and PostGIS geometry data | | +| postgis_raster-3 | 3.4.2 | GIS | pgdg16 | postgresql-16-postgis-3 | PostGIS raster types and functions | | +| postgis_sfcgal-3 | 3.4.2 | GIS | pgdg16 | postgresql-16-postgis-3 | PostGIS SFCGAL functions | | +| postgis_tiger_geocoder-3 | 3.4.2 | GIS | pgdg16 | postgresql-16-postgis-3 | PostGIS tiger geocoder and reverse geocoder | | +| postgis_topology-3 | 3.4.2 | GIS | pgdg16 | postgresql-16-postgis-3 | PostGIS topology spatial types and functions | | +| hstore_pllua | 1.0 | LANG | pgdg16 | postgresql-16-pllua | Hstore transform for Lua | | +| hstore_plluau | 1.0 | LANG | pgdg16 | postgresql-16-pllua | transform between hstore and plluau | | +| omnidb_plpgsql_debugger | 1.0.0 | LANG | pgdg16 | postgresql-16-omnidb | Enable PL/PgSQL Debugger on OmniDB | | +| pldbgapi | 1.1 | LANG | pgdg16 | postgresql-16-pldbgapi | server-side support for debugging PL/pgSQL functions | | +| pljava | 1.6.7 | LANG | pgdg16 | postgresql-16-pljava | PL/Java procedural language | | +| pllua | 2.0 | LANG | pgdg16 | postgresql-16-pllua | Lua as a procedural language | | +| plluau | 2.0 | LANG | pgdg16 | postgresql-16-pllua | Lua as an untrusted procedural language | | +| plpgsql_check | 2.7 | LANG | pgdg16 | postgresql-16-plpgsql-check | extended check for plpgsql functions | | +| plprql | 0.1.0 | LANG | pigsty-pgsql | plprql | Use PRQL in PostgreSQL - Pipelined Relational Query Language | debian only | +| plr | 8.4.6 | LANG | pgdg16 | postgresql-16-plr | load R interpreter and execute R script from within a database | | +| plsh | 2 | LANG | pgdg16 | postgresql-16-plsh | PL/sh procedural language | | +| **pg_analytics** | 0.6.1 | OLAP | pigsty-pgsql | pg-analytics | Real-time analytics for PostgreSQL using columnar storage and vectorized execution | ubuntu22 only | +| **pg_lakehouse** | 0.7.0 | OLAP | pigsty-pgsql | pg-lakehouse | An analytical query engine for Postgres | ubuntu22 only | +| **timescaledb** | 2.15.0 | OLAP | timescaledb | timescaledb-2-postgresql-16 | Enables scalable inserts and complex queries for time-series data (Apache 2 Edition) | | +| citus_columnar | 11.3-1 | OLAP | pgdg16 | postgresql-16-citus-12.1 | Citus columnar storage engine | citus | +| **pglogical** | 2.4.4 | REPL | pgdg16 | postgresql-16-pglogical | PostgreSQL Logical Replication | | +| londiste | 3.8 | REPL | pgdg16 | postgresql-16-londiste-sql | Londiste replication support code | | +| mimeo | 1.5.1 | REPL | pgdg16 | postgresql-16-mimeo | Extension for specialized, per-table replication between PostgreSQL instances | | +| pglogical_origin | 1.0.0 | REPL | pgdg16 | postgresql-16-pglogical | Dummy extension for compatibility when upgrading from Postgres 9.4 | | +| pglogical_ticker | 1.4 | REPL | pgdg16 | postgresql-16-pglogical | Have an accurate view on pglogical replication delay | | +| repmgr | 5.4 | REPL | pgdg16 | postgresql-16-repmgr | Replication manager for PostgreSQL | | +| **pg_search** | 0.7.0 | SEARCH | pigsty-pgsql | pg-search | Full text search for PostgreSQL using BM25 | ubuntu22 only | +| credcheck | 2.7.0 | SEC | pgdg16 | postgresql-16-credcheck | credcheck - postgresql plain text credential checker | | +| pg_snakeoil | 1 | SEC | pgdg16 | postgresql-16-snakeoil | PostgreSQL Anti-Virus | | +| pgaudit | 16.0 | SEC | pgdg16 | postgresql-16-pgaudit | provides auditing functionality | | +| pgauditlogtofile | 1.5 | SEC | pgdg16 | postgresql-16-pgauditlogtofile | pgAudit addon to redirect audit log to an independent file | | +| set_user | 4.0.1 | SEC | pgdg16 | postgresql-16-set-user | similar to SET ROLE but with added logging | | +| table_log | 0.6.1 | SEC | pgdg16 | postgresql-16-tablelog | Module to log changes on tables | | +| **citus** | 12.1-1 | SHARD | pgdg16 | postgresql-16-citus-12.1 | Distributed PostgreSQL as an extension | | +| pg_partman | 5.1.0 | SHARD | pgdg16 | postgresql-16-partman | Extension to manage partitioned tables by time or ID | | +| plproxy | 2.11.0 | SHARD | pgdg16 | postgresql-16-plproxy | Database partitioning implemented as procedural language | | +| orafce | 4.10 | SIM | pgdg16 | postgresql-16-orafce | Functions and operators that emulate a subset of functions and packages from the Oracle RDBMS | | +| pgmemcache | 2.3.0 | SIM | pgdg16 | postgresql-16-pgmemcache | memcached interface | | +| pg_qualstats | 2.1.0 | STAT | pgdg16 | postgresql-16-pg-qualstats | An extension collecting statistics about quals | | +| pg_show_plans | 2.1 | STAT | pgdg16 | postgresql-16-show-plans | show query plans of all currently running SQL statements | | +| pg_stat_kcache | 2.2.3 | STAT | pgdg16 | postgresql-16-squeeze | Kernel statistics gathering | | +| pg_statviz | 0.6 | STAT | pgdg16 | postgresql-16-statviz | stats visualization and time series analysis | broke on debian12 | +| pg_track_settings | 2.1.2 | STAT | pgdg16 | postgresql-16-pg-stat-kcache | Track settings changes | | +| pg_wait_sampling | 1.1 | STAT | pgdg16 | postgresql-16-pg-wait-sampling | sampling based statistics of wait events | | +| plprofiler | 4.2 | STAT | pgdg16 | postgresql-16-plprofiler | server-side support for profiling PL/pgSQL functions | | +| powa | 4.2.2 | STAT | pgdg16 | postgresql-16-powa | PostgreSQL Workload Analyser-core | | +| pgtap | 1.3.3 | TEST | pgdg16 | postgresql-16-pgtap | Unit testing for PostgreSQL | | +| asn1oid | 1 | TYPE | pgdg16 | postgresql-16-asn1oid | asn1oid extension | | +| debversion | 1.1 | TYPE | pgdg16 | postgresql-16-debversion | Debian version number data type | | +| numeral | 1 | TYPE | pgdg16 | postgresql-16-numeral | numeral datatypes extension | | +| pg_rational | 0.0.1 | TYPE | pgdg16 | postgresql-16-rational | bigint fractions | | +| pg_rrule | 0.2.0 | TYPE | pgdg16 | postgresql-16-pg-rrule | RRULE field type for PostgreSQL | | +| pgfaceting | 0.2.0 | TYPE | pgdg16 | postgresql-16-pgfaceting | fast faceting queries using an inverted index | depend pg_roaringbitmap | +| pgmp | 1.1 | TYPE | pgdg16 | postgresql-16-pgmp | Multiple Precision Arithmetic extension | | +| prefix | 1.2.0 | TYPE | pgdg16 | postgresql-16-prefix | Prefix Range module for PostgreSQL | | +| roaringbitmap | 0.5 | TYPE | pgdg16 | postgresql-16-roaringbitmap | support for Roaring Bitmaps | | +| semver | 0.32.1 | TYPE | pgdg16 | postgresql-16-semver | Semantic version data type | | +| unit | 7 | TYPE | pgdg16 | postgresql-16-unit | SI units extension | | + + +----------------- + +### Contrib Extension + +PostgreSQL has **73** built-in contrib extensions available on all distros. + +| name | version | category | description | +|:--------------------|:--------|:---------|:-------------------------------------------------------------------------------------------| +| adminpack | 2.1 | ADMIN | administrative functions for PostgreSQL | +| autoinc | 1.0 | FUNC | functions for autoincrementing fields | +| bool_plperl | 1.0 | LANG | transform between bool and plperl | +| bool_plperlu | 1.0 | LANG | transform between bool and plperlu | +| btree_gin | 1.3 | FUNC | support for indexing common datatypes in GIN | +| btree_gist | 1.7 | FUNC | support for indexing common datatypes in GiST | +| citext | 1.6 | TYPE | data type for case-insensitive character strings | +| cube | 1.5 | TYPE | data type for multidimensional cubes | +| dblink | 1.2 | FDW | connect to other PostgreSQL databases from within a database | +| dict_int | 1.0 | FUNC | text search dictionary template for integers | +| dict_xsyn | 1.0 | FUNC | text search dictionary template for extended synonym processing | +| file_fdw | 1.0 | FDW | foreign-data wrapper for flat file access | +| hstore | 1.8 | TYPE | data type for storing sets of (key, value) pairs | +| hstore_plperl | 1.0 | LANG | transform between hstore and plperl | +| hstore_plperlu | 1.0 | LANG | transform between hstore and plperlu | +| hstore_plpython3u | 1.0 | LANG | transform between hstore and plpython3u | +| insert_username | 1.0 | FUNC | functions for tracking who changed a table | +| intagg | 1.1 | FUNC | integer aggregator and enumerator (obsolete) | +| intarray | 1.5 | FUNC | functions, operators, and index support for 1-D arrays of integers | +| isn | 1.2 | TYPE | data types for international product numbering standards | +| jsonb_plperl | 1.0 | LANG | transform between jsonb and plperl | +| jsonb_plperlu | 1.0 | LANG | transform between jsonb and plperlu | +| jsonb_plpython3u | 1.0 | LANG | transform between jsonb and plpython3u | +| lo | 1.1 | ADMIN | Large Object maintenance | +| ltree | 1.2 | TYPE | data type for hierarchical tree-like structures | +| ltree_plpython3u | 1.0 | LANG | transform between ltree and plpython3u | +| moddatetime | 1.0 | FUNC | functions for tracking last modification time | +| old_snapshot | 1.0 | ADMIN | utilities in support of old_snapshot_threshold | +| pageinspect | 1.12 | STAT | inspect the contents of database pages at a low level | +| pg_buffercache | 1.4 | STAT | examine the shared buffer cache | +| pg_freespacemap | 1.2 | STAT | examine the free space map (FSM) | +| pg_prewarm | 1.2 | ADMIN | prewarm relation data | +| pg_stat_statements | 1.10 | STAT | track planning and execution statistics of all SQL statements executed | +| pg_surgery | 1.0 | ADMIN | extension to perform surgery on a damaged relation | +| pg_visibility | 1.2 | STAT | examine the visibility map (VM) and page-level visibility info | +| pg_walinspect | 1.1 | STAT | functions to inspect contents of PostgreSQL Write-Ahead Log | +| pgrowlocks | 1.2 | STAT | show row-level locking information | +| pgstattuple | 1.5 | STAT | show tuple-level statistics | +| plperl | 1.0 | LANG | PL/Perl procedural language | +| plperlu | 1.0 | LANG | PL/PerlU untrusted procedural language | +| plpgsql | 1.0 | LANG | PL/pgSQL procedural language | +| plpython3u | 1.0 | LANG | PL/Python3U untrusted procedural language | +| pltcl | 1.0 | LANG | PL/Tcl procedural language | +| pltclu | 1.0 | LANG | PL/TclU untrusted procedural language | +| postgres_fdw | 1.1 | FDW | foreign-data wrapper for remote PostgreSQL servers | +| refint | 1.0 | FUNC | functions for implementing referential integrity (obsolete) | +| seg | 1.4 | TYPE | data type for representing line segments or floating-point intervals | +| sslinfo | 1.2 | STAT | information about SSL certificates | +| tcn | 1.0 | FUNC | Triggered change notifications | +| tsm_system_rows | 1.0 | FUNC | TABLESAMPLE method which accepts number of rows as a limit | +| tsm_system_time | 1.0 | FUNC | TABLESAMPLE method which accepts time in milliseconds as a limit | +| unaccent | 1.1 | FUNC | text search dictionary that removes accents | +| uuid-ossp | 1.1 | FUNC | generate universally unique identifiers (UUIDs) | +| xml2 | 1.1 | TYPE | XPath querying and XSLT | +| ltree_plpython | | LANG | transform between ltree and plpython | +| hstore_plpython | | LANG | transform between hstore and plpython | +| auto_explain | | STAT | Provides a means for logging execution plans of slow statements automatically | +| vacuumlo | | ADMIN | utility program that will remove any orphaned large objects from a PostgreSQL database | +| basic_archive | | ADMIN | an example of an archive module | +| basebackup_to_shell | | ADMIN | adds a custom basebackup target called shell | +| jsonb_plpython | | LANG | transform between jsonb and plpython | +| passwordcheck | | SEC | checks user passwords and reject weak password | +| sepgsql | | SEC | label-based mandatory access control (MAC) based on SELinux security policy. | +| earthdistance | 1.1 | GIS | calculate great-circle distances on the surface of the Earth | +| fuzzystrmatch | 1.2 | SEARCH | determine similarities and distance between strings | +| oid2name | | ADMIN | utility program that helps administrators to examine the file structure used by PostgreSQL | +| bloom | 1.0 | FEAT | bloom access method - signature file based index | +| auth_delay | | SEC | pause briefly before reporting authentication failure | +| pg_trgm | 1.6 | SEARCH | text similarity measurement and index searching based on trigrams | +| tablefunc | 1.0 | OLAP | functions that manipulate whole tables, including crosstab | +| pgcrypto | 1.3 | SEC | cryptographic functions | +| amcheck | 1.3 | ADMIN | functions for verifying relation integrity | +| test_decoding | | REPL | SQL-based test/example module for WAL logical decoding | + + +------ + +### Pigsty Extension + +Pigsty has maintained and packaged 37 RPM extensions for PostgreSQL 16 on EL systems (el8, el9), check [Pigsty RPMs](https://github.com/Vonng/pigsty-rpm) for details. + +| name | version | comment | +|----------------------------------------------------------------------------|:---------:|----------------------------------------------------------------------------------------------| +| [pgml](https://github.com/postgresml/postgresml) | 2.8.1 | PostgresML: access most advanced machine learning algorithms and pretrained models with SQL | +| [age](https://github.com/apache/age) | 1.5.0 | Apache AGE graph database extension | +| [pointcloud](https://github.com/pgpointcloud/pointcloud) | 1.2.5 | A PostgreSQL extension for storing point cloud (LIDAR) data. | +| [pg_bigm](https://github.com/pgbigm/pg_bigm) | 1.2.0 | full text search capability with create 2-gram (bigram) index. (pg 16 not supported) | +| [pg_tle](https://github.com/aws/pg_tle) | 1.4.0 | Trusted Language Extensions for PostgreSQL | +| [roaringbitmap](https://github.com/ChenHuajun/pg_roaringbitmap) | 0.5 | Support for Roaring Bitmaps | +| [zhparser](https://github.com/amutu/zhparser) | 2.2 | Parser for full-text search of Chinese | +| [pgjwt](https://github.com/michelp/pgjwt) | 0.2.0 | JSON Web Token API for Postgresql | +| [pg_graphql](https://github.com/supabase/pg_graphql) | 1.5.4 | GraphQL support to your PostgreSQL database. | +| [pg_jsonschema](https://github.com/supabase/pg_jsonschema) | 0.3.1 | PostgreSQL extension providing JSON Schema validation | +| [vault](https://github.com/supabase/vault) | 0.2.9 | Extension for storing encrypted secrets in the Vault | +| [hydra](https://github.com/hydradatabase/hydra) | 1.1.2 | Hydra is open source, column-oriented Postgres extension | +| [wrappers](https://github.com/supabase/wrappers) | 0.3.1 | Postgres Foreign Data Wrappers Collections by Supabase | +| [duckdb_fdw](https://github.com/alitrack/duckdb_fdw) | 1.1 | DuckDB Foreign Data Wrapper, build against libduckdb 0.10.2 | +| [pg_search](https://github.com/paradedb/paradedb/tree/dev/pg_search) | 0.7.0 | Full text search over SQL tables using the BM25 algorithm | +| [pg_lakehouse](https://github.com/paradedb/paradedb/tree/dev/pg_lakehouse) | 0.7.0 | ery engine over object stores like S3 and table formats like Delta Lake | +| [pg_analytics](https://github.com/paradedb/pg_analytics) | 0.6.1 | Accelerates analytical query processing inside Postgres | +| [pgmq](https://github.com/tembo-io/pgmq) | 1.5.2 | A lightweight message queue. Like AWS SQS and RSMQ but on Postgres. | +| [pg_tier](https://github.com/tembo-io/pg_tier) | 0.0.3 | Postgres Extension written in Rust, to enable data tiering to AWS S3 | +| [pg_vectorize](https://github.com/tembo-io/pg_vectorize) | 0.15.0 | The simplest way to orchestrate vector search on Postgres | +| [pg_later](https://github.com/tembo-io/pg_later) | 0.1.0 | Execute SQL now and get the results later. | +| [pg_idkit](https://github.com/VADOSWARE/pg_idkit) | 0.2.3 | Generating many popular types of identifiers | +| [plprql](https://github.com/kaspermarstal/plprql) | 0.1.0 | Use PRQL in PostgreSQL | +| [pgsmcrypto](https://github.com/zhuobie/pgsmcrypto) | 0.1.0 | PostgreSQL SM Algorithm Extension | +| [pg_tiktoken](https://github.com/kelvich/pg_tiktoken) | 0.0.1 | OpenAI tiktoken tokenizer for postgres | +| [pgdd](https://github.com/rustprooflabs/pgdd) | 0.5.2 | Access Data Dictionary metadata with pure SQL | +| [parquet_s3_fdw](https://github.com/pgspider/parquet_s3_fdw) | 1.1.0 | ParquetS3 Foreign Data Wrapper for PostgresSQL | +| [plv8](https://github.com/plv8/plv8) | 3.2.2 | V8 Engine Javascript Procedural Language add-on for PostgreSQL | +| [md5hash](https://github.com/tvondra/md5hash) | 1.0.1 | Custom data type for storing MD5 hashes rather than text | +| [pg_tde](https://github.com/Percona-Lab/pg_tde) | 1.0-alpha | Experimental encrypted access method for PostgreSQL | +| [pg_dirtyread](https://github.com/df7cb/pg_dirtyread) | 2.6 | Read dead but unvacuumed tuples from a PostgreSQL relation | +| [pg_sparse](https://github.com/paradedb/paradedb/tree/v0.6.1/pg_sparse) ❋ | 0.6.1 | pg_sparse: Sparse vector data type and sparse HNSW access methods (depreciated) | +| [imgsmlr](https://github.com/postgrespro/imgsmlr) ❋ | 1.0.0 | ImgSmlr method is based on Haar wavelet transform (pg 16 not supported) | +| [pg_similarity](https://github.com/eulerto/pg_similarity) ❋ | 1.0.0 | set of functions and operators for executing similarity queries(covered by pgvector) | +| [pgsql-http](https://github.com/pramsey/pgsql-http) ※ | 1.6 | HTTP client for PostgreSQL, allows web page retrieval inside the database. | +| [pgsql-gzip](https://github.com/pramsey/pgsql-gzip) ※ | 1.0 | Gzip and unzip with SQL | +| [pg_net](https://github.com/supabase/pg_net) ※ | 0.9.1 | A PostgreSQL extension that enables asynchronous (non-blocking) HTTP/HTTPS requests with SQL | > Caveat: Extension marked with ❋ are no longer supported due to various reasons. > -> Some extensions are also available on Deb & Ubuntu Systems. - -Pigsty enlisted extensions: - -| name | version | source | type | pkg | comment | -|------------------------------|:-------:|:----------:|:-----:|-----|---------------------------------------------------------------------------------------------------------------------| -| pgml | 2.8.1 | **PIGSTY** | FEAT | rpm | PostgresML: access most advanced machine learning algorithms and pretrained models with SQL | -| age | 1.5.0 | **PIGSTY** | FEAT | rpm | Apache AGE graph database extension | -| pg_graphql | 1.5.0 | **PIGSTY** | FEAT | rpm | GraphQL support for PostgreSQL (RUST, supabase) | -| hydra | 1.1.1 | **PIGSTY** | FEAT | rpm | Hydra is open source, column-oriented Postgres extension | -| pg_analytics | 0.5.6 | **PIGSTY** | FEAT | rpm | ParadeDB: Real-time analytics for PostgreSQL using columnar storage and vectorized execution | -| pg_bm25 | 0.5.6 | **PIGSTY** | FEAT | rpm | ParadeDB: pg_bm25: Full text search for PostgreSQL using BM25 | -| svector | 0.5.6 | **PIGSTY** | FEAT | rpm | ParadeDB: pg_sparse: Sparse vector data type and sparse HNSW access methods | -| zhparser | 2.2 | **PIGSTY** | FEAT | rpm | Parser for full-text search of Chinese | -| pg_bigm ❋ | 1.2.0 | **PIGSTY** | FEAT | rpm | full text search capability with create 2-gram (bigram) index. | -| emaj | 4.3.1 | PGDG | FEAT | rpm | E-Maj extension enables fine-grained write logging and time travel on subsets of the database. | -| periods | 1.2 | PGDG | FEAT | rpm | Provide Standard SQL functionality for PERIODs and SYSTEM VERSIONING | -| pg_ivm | 1.7 | PGDG | FEAT | rpm | incremental view maintenance on PostgreSQL | -| pgq | 3.5.1 | PGDG | FEAT | rpm | Generic queue for PostgreSQL | -| pgq_node | 3.5 | PGDG | FEAT | deb | Cascaded queue infrastructure | -| pgsodium | 3.1.9 | PGDG | FEAT | rpm | Postgres extension for libsodium functions | -| **timescaledb** | 2.14.1 | PGDG | FEAT | rpm | Enables scalable inserts and complex queries for time-series data (Apache 2 Edition) | -| **wal2json** | 2.5.3 | PGDG | FEAT | rpm | Capture JSON format CDC change via logical decoding | -| decoderbufs | 0.1.0 | PGDG | FEAT | deb | Logical decoding plugin that delivers WAL stream changes using a Protocol Buffer format | -| **vector** | 0.6.0 | PGDG | FEAT | rpm | vector data type and ivfflat / hnsw access method | -| safeupdate | 1.4 | PGDG | FEAT | rpm | Require criteria for UPDATE and DELETE | -| pg_hint_plan | 1.6.0 | PGDG | FEAT | rpm | Give PostgreSQL ability to manually force some decisions in execution plans | -| pg_snakeoil | 1 | PGDG | FEAT | deb | The PostgreSQL Antivirus | -| jsquery | 1.1 | PGDG | FEAT | deb | data type for jsonb inspection | -| omnidb_plpgsql_debugger | 1.0.0 | PGDG | FEAT | deb | PostgreSQL extension for enabling PL/pgSQL debugger in OmniDB | -| icu_ext | 1.8 | PGDG | FEAT | deb | Access ICU functions | -| pgmemcache | 2.3.0 | PGDG | FEAT | deb | memcached interface | -| pre_prepare | 0.4 | PGDG | FEAT | deb | Pre Prepare your Statement server side | -| credcheck | 2.6.0 | PGDG | ADMIN | rpm | credcheck - postgresql plain text credential checker | -| **pg_cron** | 1.6 | PGDG | ADMIN | rpm | Job scheduler for PostgreSQL | -| pg_background | 1.0 | PGDG | ADMIN | rpm | Run SQL queries in the background | -| pg_jobmon | 1.4.1 | PGDG | ADMIN | rpm | Extension for logging and monitoring functions in PostgreSQL | -| pg_readonly | 1.0.0 | PGDG | ADMIN | rpm | cluster database read only | -| **pg_repack** | 1.5.0 | PGDG | ADMIN | rpm | Reorganize tables in PostgreSQL databases with minimal locks | -| pg_squeeze | 1.6 | PGDG | ADMIN | rpm | A tool to remove unused space from a relation. | -| pgfincore | 1.3.1 | PGDG | ADMIN | rpm | examine and manage the os buffer cache | -| **pglogical** | 2.4.4 | PGDG | ADMIN | rpm | PostgreSQL Logical Replication | -| pglogical_origin | 1.0.0 | PGDG | ADMIN | rpm | Dummy extension for compatibility when upgrading from Postgres 9.4 | -| pglogical_ticker | 1.4 | PGDG | ADMIN | deb | Have an accurate view on pglogical replication delay | -| pgl_ddl_deploy | 2.2 | PGDG | ADMIN | deb | automated ddl deployment using pglogical | -| toastinfo | 1 | PGDG | ADMIN | deb | show details on toasted datums | -| pg_fact_loader | 2.0 | PGDG | ADMIN | deb | build fact tables with Postgres | -| pgautofailover | 2.1 | PGDG | ADMIN | deb | pg_auto_failover | -| mimeo | 1.5.1 | PGDG | ADMIN | deb | Extension for specialized, per-table replication between PostgreSQL instances | -| prioritize | 1.0 | PGDG | ADMIN | rpm | get and set the priority of PostgreSQL backends | -| pg_tle | 1.3.4 | **PIGSTY** | ADMIN | rpm | Trusted Language Extensions for PostgreSQL | -| set_user | 4.0.1 | PGDG | AUDIT | rpm | similar to SET ROLE but with added logging | -| **passwordcracklib** | 3.0.0 | PGDG | AUDIT | rpm | Enforce password policy | -| pgaudit ❋ | 16.0 | PGDG | AUDIT | rpm | provides auditing functionality | -| pgauditlogtofile | 1.5 | PGDG | AUDIT | deb | pgAudit addon to redirect audit log to an independent file | -| pgcryptokey | 1.0 | PGDG | AUDIT | rpm | cryptographic key management | -| duckdb_fdw | 1.1 | **PIGSTY** | FDW | rpm | DuckDB Foreign Data Wrapper | -| hdfs_fdw | 2.0.5 | PGDG | FDW | rpm | foreign-data wrapper for remote hdfs servers | -| mongo_fdw | 1.1 | PGDG | FDW | rpm | foreign data wrapper for MongoDB access | -| multicorn ❋ | 2.4 | PGDG | FDW | rpm | Multicorn2 Python3.6+ bindings for Postgres 11++ Foreign Data Wrapper | -| mysql_fdw | 1.2 | PGDG | FDW | rpm | Foreign data wrapper for querying a MySQL server | -| pgbouncer_fdw | 1.1.0 | PGDG | FDW | rpm | Extension for querying pgbouncer stats from normal SQL views & running pgbouncer commands from normal SQL functions | -| sqlite_fdw | 1.1 | PGDG | FDW | rpm | SQLite Foreign Data Wrapper | -| tds_fdw | 2.0.3 | PGDG | FDW | rpm | Foreign data wrapper for querying a TDS database (Sybase or Microsoft SQL Server) | -| oracle_fdw | 1.2 | PGDG | FDW | deb | foreign data wrapper for Oracle access | -| ogr_fdw | 1.1 | PGDG | FDW | deb | foreign-data wrapper for GIS data access | -| count_distinct | 3.0.1 | PGDG | FUNC | rpm | An alternative to COUNT(DISTINCT ...) aggregate, usable with HashAggregate | -| ddlx | 0.27 | PGDG | FUNC | rpm | DDL eXtractor functions | -| extra_window_functions | 1.0 | PGDG | FUNC | rpm | Additional window functions to PostgreSQL | -| first_last_agg | 0.1.4 | PGDG | FUNC | deb | first() and last() aggregate functions | -| mysqlcompat ❋ | 0.0.7 | PGDG | FUNC | rpm | MySQL compatibility functions | -| orafce | 4.9 | PGDG | FUNC | rpm | Functions and operators that emulate a subset of functions and packages from the Oracle RDBMS | -| pgsql_tweaks | 0.10.2 | PGDG | FUNC | rpm | Some functions and views for daily usage | -| tdigest | 1.4.1 | PGDG | FUNC | rpm | Provides tdigest aggregate function. | -| topn | 2.6.0 | PGDG | FUNC | rpm | type for top-n JSONB | -| unaccent | 1.1 | PGDG | FUNC | rpm | text search dictionary that removes accents | -| table_log | 0.6.1 | PGDG | FUNC | deb | Module to log changes on tables | -| pg_sphere | 1.4.2 | PGDG | FUNC | deb | spherical objects with useful functions, operators and index support | -| pgpcre | 1 | PGDG | FUNC | deb | Perl Compatible Regular Expression functions | -| q3c | 2.0.1 | PGDG | FUNC | deb | q3c sky indexing plugin | -| **postgis** | 3.4.2 | PGDG | GIS | rpm | PostGIS geometry and geography spatial types and functions | -| postgis_raster | 3.4.2 | PGDG | GIS | rpm | PostGIS raster types and functions | -| postgis_sfcgal | 3.4.2 | PGDG | GIS | rpm | PostGIS SFCGAL functions | -| postgis_tiger_geocoder | 3.4.2 | PGDG | GIS | rpm | PostGIS tiger geocoder and reverse geocoder | -| postgis_topology | 3.4.2 | PGDG | GIS | rpm | PostGIS topology spatial types and functions | -| address_standardizer | 3.4.2 | PGDG | GIS | rpm | Used to parse an address into constituent elements. Generally used to support geocoding address normalization step. | -| address_standardizer_data_us | 3.4.2 | PGDG | GIS | rpm | Address Standardizer US dataset example | -| pointcloud | 1.2.5 | **PIGSTY** | GIS | rpm | A PostgreSQL extension for storing point cloud (LIDAR) data. | -| bloom | 1.0 | PGDG | INDEX | rpm | bloom access method - signature file based index | -| hll ❋ | 2.18 | PGDG | INDEX | rpm | type for storing hyperloglog data | -| pgtt | 3.1.0 | PGDG | INDEX | rpm | Extension to add Global Temporary Tables feature to PostgreSQL | -| rum | 1.3 | PGDG | INDEX | rpm | RUM index access method | -| hstore_plperl | 1.0 | PGDG | LANG | rpm | transform between hstore and plperl | -| hstore_plperlu | 1.0 | PGDG | LANG | rpm | transform between hstore and plperlu | -| plpgsql_check | 2.7 | PGDG | LANG | rpm | extended check for plpgsql functions | -| plsh | 2 | PGDG | LANG | rpm | PL/sh procedural language | -| pllua | 2.0 | PGDG | LANG | deb | Lua as a procedural language | -| plluau | 2.0 | PGDG | LANG | deb | Lua as an untrusted procedural language | -| hstore_plluau | 1.0 | PGDG | LANG | deb | Hstore transform for untrusted Lua | -| **citus** | 12.1-1 | PGDG | SHARD | rpm | Citus distributed database | -| citus_columnar | 11.3-1 | PGDG | SHARD | rpm | Citus Columnar extension | -| pg_fkpart | 1.7 | PGDG | SHARD | rpm | Table partitioning by foreign key utility | -| pg_partman | 5.0.1 | PGDG | SHARD | rpm | Extension to manage partitioned tables by time or ID | -| plproxy ❋ | 2.10.0 | PGDG | SHARD | rpm | Database partitioning implemented as procedural language | -| pg_show_plans | 2.0 | PGDG | STAT | deb | show query plans of all currently running SQL statements | -| hypopg | 1.4.0 | PGDG | STAT | rpm | Hypothetical indexes for PostgreSQL | -| logerrors | 2.1 | PGDG | STAT | rpm | Function for collecting statistics about messages in logfile | -| pg_auth_mon | 1.1 | PGDG | STAT | rpm | monitor connection attempts per user | -| pg_permissions | 1.1 | PGDG | STAT | rpm | view object permissions and compare them with the desired state | -| pg_qualstats | 2.1.0 | PGDG | STAT | rpm | An extension collecting statistics about quals | -| pg_stat_kcache | 2.2.3 | PGDG | STAT | rpm | Kernel statistics gathering | -| pg_stat_monitor | 2.0 | PGDG | STAT | rpm | aggregated statistics, client information, plan details including plan, and histogram information. | -| pg_store_plans ❋ | 1.7 | PGDG | STAT | rpm | track plan statistics of all SQL statements executed | -| pg_track_settings | 2.1.2 | PGDG | STAT | rpm | Track settings changes | -| pg_wait_sampling | 1.1 | PGDG | STAT | rpm | sampling based statistics of wait events | -| pldbgapi | 1.1 | PGDG | STAT | rpm | server-side support for debugging PL/pgSQL functions | -| plprofiler | 4.2 | PGDG | STAT | rpm | server-side support for profiling PL/pgSQL functions | -| powa | 4.2.2 | PGDG | STAT | rpm | PostgreSQL Workload Analyser-core | -| system_stats ❋ | 1.0 | PGDG | STAT | rpm | System statistic functions for PostgreSQL | -| asn1oid | 1 | PGDG | TYPE | deb | ASN.1 OID Data Type | -| citext | 1.6 | PGDG | TYPE | rpm | data type for case-insensitive character strings | -| debversion | 1.1 | PGDG | TYPE | deb | Debian version number data type | -| ip4r | 2.4 | PGDG | TYPE | rpm | IPv4/v6 and IPv4/v6 range index type for PostgreSQL | -| pg_uuidv7 | 1.4 | PGDG | TYPE | rpm | pg_uuidv7: create UUIDv7 values in postgres | -| pgmp | 1.1 | PGDG | TYPE | rpm | Multiple Precision Arithmetic extension | -| semver | 0.32.1 | PGDG | TYPE | rpm | Semantic version data type | -| timestamp9 | 1.4.0 | PGDG | TYPE | rpm | timestamp nanosecond resolution | -| unit ❋ | 7 | PGDG | TYPE | rpm | SI units extension | -| numeral | 1 | PGDG | TYPE | deb | numeral datatypes extension | -| pg_rational | 0.0.1 | PGDG | TYPE | deb | bigint fractions | -| roaringbitmap | 0.5 | **PIGSTY** | TYPE | rpm | Support for Roaring Bitmaps | -| amcheck | 1.3 | CONTRIB | INDEX | rpm | functions for verifying relation integrity | -| adminpack | 2.1 | CONTRIB | ADMIN | sys | administrative functions for PostgreSQL | -| lo | 1.1 | CONTRIB | ADMIN | sys | Large Object maintenance | -| old_snapshot | 1.0 | CONTRIB | ADMIN | sys | utilities in support of old_snapshot_threshold | -| pg_prewarm | 1.2 | CONTRIB | ADMIN | sys | prewarm relation data | -| pg_surgery | 1.0 | CONTRIB | ADMIN | sys | extension to perform surgery on a damaged relation | -| dblink | 1.2 | CONTRIB | FDW | sys | connect to other PostgreSQL databases from within a database | -| file_fdw | 1.0 | CONTRIB | FDW | sys | foreign-data wrapper for flat file access | -| postgres_fdw | 1.1 | CONTRIB | FDW | sys | foreign-data wrapper for remote PostgreSQL servers | -| gzip | 1.0 | **PIGSTY** | FUNC | rpm | Gzip and unzip with SQL | -| http | 1.6 | **PIGSTY** | FUNC | rpm | HTTP client for PostgreSQL, allows web page retrieval inside the database. | -| pg_net | 0.8.0 | **PIGSTY** | FUNC | rpm | A PostgreSQL extension that enables asynchronous (non-blocking) HTTP/HTTPS requests with SQL | -| pgjwt | 0.2.0 | **PIGSTY** | FUNC | rpm | JSON Web Token API for Postgresql | -| vault | 0.2.9 | **PIGSTY** | FUNC | rpm | Extension for storing encrypted secrets in the Vault | -| imgsmlr ❋ | 1.0.0 | **PIGSTY** | FUNC | rpm | ImgSmlr method is based on Haar wavelet transform | -| pg_similarity ❋ | 1.0.0 | **PIGSTY** | FUNC | rpm | set of functions and operators for executing similarity queries | -| autoinc | 1.0 | CONTRIB | FUNC | sys | functions for autoincrementing fields | -| dict_int | 1.0 | CONTRIB | FUNC | sys | text search dictionary template for integers | -| dict_xsyn | 1.0 | CONTRIB | FUNC | sys | text search dictionary template for extended synonym processing | -| earthdistance | 1.1 | CONTRIB | FUNC | sys | calculate great-circle distances on the surface of the Earth | -| fuzzystrmatch | 1.2 | CONTRIB | FUNC | sys | determine similarities and distance between strings | -| insert_username | 1.0 | CONTRIB | FUNC | sys | functions for tracking who changed a table | -| intagg | 1.1 | CONTRIB | FUNC | sys | integer aggregator and enumerator (obsolete) | -| intarray | 1.5 | CONTRIB | FUNC | sys | functions, operators, and index support for 1-D arrays of integers | -| moddatetime | 1.0 | CONTRIB | FUNC | sys | functions for tracking last modification time | -| pg_trgm | 1.6 | CONTRIB | FUNC | sys | text similarity measurement and index searching based on trigrams | -| pgcrypto | 1.3 | CONTRIB | FUNC | sys | cryptographic functions | -| refint | 1.0 | CONTRIB | FUNC | sys | functions for implementing referential integrity (obsolete) | -| tablefunc | 1.0 | CONTRIB | FUNC | sys | functions that manipulate whole tables, including crosstab | -| tcn | 1.0 | CONTRIB | FUNC | sys | Triggered change notifications | -| tsm_system_rows | 1.0 | CONTRIB | FUNC | sys | TABLESAMPLE method which accepts number of rows as a limit | -| tsm_system_time | 1.0 | CONTRIB | FUNC | sys | TABLESAMPLE method which accepts time in milliseconds as a limit | -| uuid-ossp | 1.1 | CONTRIB | FUNC | sys | generate universally unique identifiers (UUIDs) | -| btree_gin | 1.3 | CONTRIB | FUNC | sys | support for indexing common datatypes in GIN | -| btree_gist | 1.7 | CONTRIB | FUNC | sys | support for indexing common datatypes in GiST | -| bool_plperl | 1.0 | CONTRIB | LANG | sys | transform between bool and plperl | -| bool_plperlu | 1.0 | CONTRIB | LANG | sys | transform between bool and plperlu | -| hstore_plpython3u | 1.0 | CONTRIB | LANG | sys | transform between hstore and plpython3u | -| jsonb_plperl | 1.0 | CONTRIB | LANG | sys | transform between jsonb and plperl | -| jsonb_plperlu | 1.0 | CONTRIB | LANG | sys | transform between jsonb and plperlu | -| jsonb_plpython3u | 1.0 | CONTRIB | LANG | sys | transform between jsonb and plpython3u | -| ltree_plpython3u | 1.0 | CONTRIB | LANG | sys | transform between ltree and plpython3u | -| plperl | 1.0 | CONTRIB | LANG | sys | PL/Perl procedural language | -| plperlu | 1.0 | CONTRIB | LANG | sys | PL/PerlU untrusted procedural language | -| plpgsql | 1.0 | CONTRIB | LANG | sys | PL/pgSQL procedural language | -| plpython3u | 1.0 | CONTRIB | LANG | sys | PL/Python3U untrusted procedural language | -| pltcl | 1.0 | CONTRIB | LANG | sys | PL/TCL procedural language | -| pltclu | 1.0 | CONTRIB | LANG | sys | PL/TCLU untrusted procedural language | -| pageinspect | 1.12 | CONTRIB | STAT | sys | inspect the contents of database pages at a low level | -| pg_buffercache | 1.3 | CONTRIB | STAT | sys | examine the shared buffer cache | -| pg_freespacemap | 1.2 | CONTRIB | STAT | sys | examine the free space map (FSM) | -| pg_stat_statements | 1.10 | CONTRIB | STAT | sys | track planning and execution statistics of all SQL statements executed | -| pg_visibility | 1.2 | CONTRIB | STAT | sys | examine the visibility map (VM) and page-level visibility info | -| pg_walinspect | 1.1 | CONTRIB | STAT | sys | functions to inspect contents of PostgreSQL Write-Ahead Log | -| pgrowlocks | 1.2 | CONTRIB | STAT | sys | show row-level locking information | -| pgstattuple | 1.5 | CONTRIB | STAT | sys | show tuple-level statistics | -| sslinfo | 1.2 | CONTRIB | STAT | sys | information about SSL certificates | -| cube | 1.5 | CONTRIB | TYPE | sys | data type for multidimensional cubes | -| hstore | 1.8 | CONTRIB | TYPE | sys | data type for storing sets of (key, value) pairs | -| isn | 1.2 | CONTRIB | TYPE | sys | data types for international product numbering standards | -| ltree | 1.2 | CONTRIB | TYPE | sys | data type for hierarchical tree-like structures | -| prefix | 1.2.0 | CONTRIB | TYPE | sys | Prefix Range module for PostgreSQL | -| seg | 1.4 | CONTRIB | TYPE | sys | data type for representing line segments or floating-point intervals | -| xml2 | 1.1 | CONTRIB | TYPE | sys | XPath querying and XSLT | - -> Extension marked with `❋` is not support PostgreSQL 16 yet, but can be installed on lower version: 12/13/14/15. +> Caveat: Extension marked with ※ are now supported by PGDG \ No newline at end of file diff --git a/docs/README.md b/docs/README.md index 6bf5a5ae..4c895e02 100644 --- a/docs/README.md +++ b/docs/README.md @@ -15,7 +15,7 @@ > Pigsty is your postgres, infra, grafana service toolbox, check [**Feature**](FEATURE) | [**特性**](zh/FEATURE) and [**Demo**](https://demo.pigsty.cc) for details. -[**Extensibility**](https://repo.pigsty.cc/img/pigsty-extension.jpg): Powerful [**Extensions**](PGSQL-EXTENSION) Ready for use: **PostGIS**, **TimescaleDB**, **Citus**, **PGVector**, Search, HTAP, AIML, and [**150+**](PGSQL-EXTENSION#extension-list) more. +[**Extensibility**](https://repo.pigsty.cc/img/pigsty-extension.jpg): Powerful [**Extensions**](PGSQL-EXTENSION) Ready for use: **PostGIS**, **TimescaleDB**, **Citus**, **PGVector**, Search, HTAP, AIML, and [**255**](PGSQL-EXTENSION#extension-list) more. [**Reliability**](https://repo.pigsty.cc/img/pigsty-arch.jpg): Create self-healing [**High Available**](PGSQL-ARCH#high-availability) [**PostgreSQL**](PGSQL) clusters with pre-configured [**PITR**](PGSQL-ARCH#point-in-time-recovery), built-in [**ACL**](PGSQL-ACL), [**CA**](PARAM#ca) & [**SSL**](SECURITY) in minutes. diff --git a/docs/zh/FEATURE.md b/docs/zh/FEATURE.md index a83bf34f..101eaa87 100644 --- a/docs/zh/FEATURE.md +++ b/docs/zh/FEATURE.md @@ -9,7 +9,7 @@ ## 价值主张 -- [**可扩展性**](https://repo.pigsty.cc/img/pigsty-extension.jpg): 强力[**扩展**](PGSQL-EXTENSION)开箱即用:深度整合**PostGIS**, **TimescaleDB**, **Citus**, **PGVector**, **ParadeDB**, **Hydra**, **AGE** , **PGML** 等 [**200+**](PGSQL-EXTENSION#扩展列表) PG生态插件。 +- [**可扩展性**](https://repo.pigsty.cc/img/pigsty-extension.jpg): 强力[**扩展**](PGSQL-EXTENSION)开箱即用:深度整合**PostGIS**, **TimescaleDB**, **Citus**, **PGVector**, **ParadeDB**, **Hydra**, **AGE** , **PGML** 等 [**255+**](PGSQL-EXTENSION#扩展列表) PG生态插件。 - [**可靠性**](https://repo.pigsty.cc/img/pigsty-arch.jpg):快速创建[**高可用**](PGSQL-ARCH#高可用)、故障自愈的 [**PostgreSQL**](PGSQL) 集群,自动预置的[**时间点恢复**](PGSQL-ARCH#时间点恢复)、[**访问控制**](PGSQL-ACL)、自签名 [**CA**](PARAM#ca) 与 [**SSL**](SECURITY),确保数据坚如磐石。 - [**可观测性**](https://repo.pigsty.cc/img/pigsty-dashboard.jpg): 基于 [**Prometheus**](INFRA#prometheus) & [**Grafana**](INFRA#grafana) 现代可观测性技术栈,提供惊艳的监控最佳实践。模块化设计,可独立使用:[**画廊**](https://github.com/Vonng/pigsty/wiki/Gallery) & [**Demo**](https://demo.pigsty.cc)。 - [**可用性**](https://repo.pigsty.cc/img/pgsql-ha.jpg):交付稳定可靠,自动路由,事务池化、读写分离的高性能数据库[**服务**](PGSQL-SVC#默认服务),通过 HAProxy,Pgbouncer,VIP 提供灵活的[**接入**](PGSQL-SVC#接入服务)模式。 @@ -26,7 +26,7 @@ Pigsty 是一个更好的本地开源 RDS for PostgreSQL 替代: - [开箱即用的RDS](#开箱即用的rds):从内核到RDS发行版,在 EL7-9 下提供 12-16 版本的生产级 PostgreSQL 数据库服务。 -- [丰富的扩展插件](#丰富的扩展插件):深度整合 150+ 核心扩展,提供开箱即用的分布式的时序地理空间图文向量数据库能力。 +- [丰富的扩展插件](#丰富的扩展插件):深度整合 255+ 核心扩展,提供开箱即用的分布式的时序地理空间图文向量数据库能力。 - [灵活的模块架构](#灵活的模块架构):灵活组合,自由扩展:Redis/Etcd/MinIO/Mongo;可独立使用,监控现有RDS/主机/数据库。 - [惊艳的观测能力](#惊艳的观测能力):基于现代可观测性技术栈 Prometheus/Grafana,提供令人惊艳,无可比拟的数据库观测能力。 - [验证过的可靠性](#验证过的可靠性):故障自愈的高可用架构:硬件故障自动切换,流量无缝衔接。并提供自动配置的 PITR 兜底删库! @@ -35,7 +35,7 @@ Pigsty 是一个更好的本地开源 RDS for PostgreSQL 替代: - [广泛的应用场景](#广泛的应用场景):低代码数据应用开发,或使用预置的 Docker Compose 模板,一键拉起使用PostgreSQL的海量软件! - [开源的自由软件](#开源的自由软件):以云数据库1/10不到的成本拥有与更好的数据库服务!帮您真正“拥有”自己的数据,实现自主可控! -- 开箱即用的 [PostgreSQL](https://www.postgresql.org/) 发行版,深度整合地理、时序、分布式、图、向量、搜索、AI等 200+ [扩展插件](PGSQL-EXTENSION)! +- 开箱即用的 [PostgreSQL](https://www.postgresql.org/) 发行版,深度整合地理、时序、分布式、图、向量、搜索、AI等 255+ [扩展插件](PGSQL-EXTENSION)! - 运行于裸操作系统之上,无需容器支持,支持主流操作系统: EL7/8/9, Ubuntu 20.04/22.04 以及 Debian 11/12。 - 基于现代的 [Prometheus](https://prometheus.io/) 与 [Grafana](https://grafana.com/) 技术栈,提供令人惊艳,无可比拟的数据库观测能力:[画廊](https://github.com/Vonng/pigsty/wiki/Gallery) & [演示站点](https://demo.pigsty.cc) - 基于 [patroni](https://patroni.readthedocs.io/en/latest/), [haproxy](http://www.haproxy.org/), 与[etcd](https://etcd.io/),打造故障自愈的高可用架构:硬件故障自动切换,流量无缝衔接。 @@ -72,7 +72,7 @@ Pigsty 支持的数据库版本覆盖 PostgreSQL 12 ~ 16,可以运行于 EL/ PostgreSQL 的灵魂在于其丰富的[扩展插件](PGSQL-EXTENSION#扩展列表)生态,而 Pigsty 深度整合了 PostgreSQL 生态扩展插件,为您提供开箱即用的分布式的时序地理空间图文向量数据库能力! -Pigsty 收录了超过 200+ PostgreSQL 扩展插件,编译维护打包了一些官方仓库没有收录的扩展,并且通过充分的测试确保所有这些插件可以正常协同工作: +Pigsty 收录了超过 255+ PostgreSQL 扩展插件,编译维护打包了一些官方仓库没有收录的扩展,并且通过充分的测试确保所有这些插件可以正常协同工作: 您可以使用 [PostGIS](https://postgis.net/) 处理地理空间数据,使用 [TimescaleDB](https://www.timescale.com/) 分析时序/事件流数据,使用 [Citus](https://www.citusdata.com/) 将单机数据库原地改造为水平扩展的分布式数据库集群, 使用 [PGVector](https://github.com/pgvector/pgvector) 存储并搜索 AI 嵌入实现向量数据库的效果,使用 [Apache AGE](https://age.apache.org/) 进行图数据存储与检索实现 Neo4J 的效果,使用 [zhparser](https://github.com/amutu/zhparser) 进行中文分词实现 ElasticSearch 的效果。 diff --git a/docs/zh/PGSQL-EXTENSION.md b/docs/zh/PGSQL-EXTENSION.md index c5b91b91..c657ca90 100644 --- a/docs/zh/PGSQL-EXTENSION.md +++ b/docs/zh/PGSQL-EXTENSION.md @@ -2,7 +2,7 @@ > 扩展是 PostgreSQL 的灵魂所在,完整的扩展列表,请参考[这里](https://pigsty.cc/zh/docs/reference/extension/) -Pigsty 收录了超过 160 个预先编译打包、开箱即用的 PostgreSQL 强力扩展插件,其中包括一些强力扩展: +Pigsty 收录了超过 255 个预先编译打包、开箱即用的 PostgreSQL 强力扩展插件,其中包括一些强力扩展: - [**PostGIS**](https://postgis.net/):提供地理空间数据类型与索引支持,GIS 事实标准 (& [**pgPointCloud**](https://pgpointcloud.github.io/pointcloud/) 点云,[**pgRouting**](https://pgrouting.org/) 寻路) - [**TimescaleDB**](https://www.timescale.com/):添加时间序列/持续聚合/分布式/列存储/自动压缩的能力 @@ -170,246 +170,514 @@ Pigsty 默认从 PostgreSQL 官方软件源下载扩展插件,如果您希望 ## 扩展列表 -其中由 Pigsty 维护编译打包的 33 个 PostgreSQL 插件由下表所列出: - -Pigsty has maintained and packaged 33 extensions for PostgreSQL 16 on EL systems, which are available on Pigsty's PGSQL repo for EL8 & EL9 systems: - -| name | version | source | comment | -|----------------------------------------------------------------------------|:---------:|:----------:|----------------------------------------------------------------------------------------------| -| [pgml](https://github.com/postgresml/postgresml) | 2.8.1 | **PIGSTY** | PostgresML: access most advanced machine learning algorithms and pretrained models with SQL | -| [age](https://github.com/apache/age) | 1.5.0 | **PIGSTY** | Apache AGE graph database extension | -| [pointcloud](https://github.com/pgpointcloud/pointcloud) | 1.2.5 | **PIGSTY** | A PostgreSQL extension for storing point cloud (LIDAR) data. | -| [pgsql-http](https://github.com/pramsey/pgsql-http) | 1.6 | **PIGSTY** | HTTP client for PostgreSQL, allows web page retrieval inside the database. | -| [pgsql-gzip](https://github.com/pramsey/pgsql-gzip) | 1.0 | **PIGSTY** | Gzip and unzip with SQL | -| [pg_tle](https://github.com/aws/pg_tle) | 1.4.0 | **PIGSTY** | Trusted Language Extensions for PostgreSQL | -| [roaringbitmap](https://github.com/ChenHuajun/pg_roaringbitmap) | 0.5 | **PIGSTY** | Support for Roaring Bitmaps | -| [zhparser](https://github.com/amutu/zhparser) | 2.2 | **PIGSTY** | Parser for full-text search of Chinese | -| [pg_net](https://github.com/supabase/pg_net) | 0.9.1 | **PIGSTY** | A PostgreSQL extension that enables asynchronous (non-blocking) HTTP/HTTPS requests with SQL | -| [pgjwt](https://github.com/michelp/pgjwt) | 0.2.0 | **PIGSTY** | JSON Web Token API for Postgresql | -| [pg_graphql](https://github.com/supabase/pg_graphql) | 1.5.4 | **PIGSTY** | GraphQL support to your PostgreSQL database. | -| [pg_jsonschema](https://github.com/supabase/pg_jsonschema) | 0.3.1 | **PIGSTY** | PostgreSQL extension providing JSON Schema validation | -| [vault](https://github.com/supabase/vault) | 0.2.9 | **PIGSTY** | Extension for storing encrypted secrets in the Vault | -| [hydra](https://github.com/hydradatabase/hydra) | 1.1.2 | **PIGSTY** | Hydra is open source, column-oriented Postgres extension | -| [wrappers](https://github.com/supabase/wrappers) | 0.3.1 | **PIGSTY** | Postgres Foreign Data Wrappers Collections by Supabase | -| [duckdb_fdw](https://github.com/alitrack/duckdb_fdw) | 1.1 | **PIGSTY** | DuckDB Foreign Data Wrapper | -| [pg_search](https://github.com/paradedb/paradedb/tree/dev/pg_search) | 0.7.0 | **PIGSTY** | Full text search over SQL tables using the BM25 algorithm | -| [pg_lakehouse](https://github.com/paradedb/paradedb/tree/dev/pg_lakehouse) | 0.7.0 | **PIGSTY** | ery engine over object stores like S3 and table formats like Delta Lake | -| [pg_analytics](https://github.com/paradedb/pg_analytics) | 0.6.1 | **PIGSTY** | Accelerates analytical query processing inside Postgres | -| [pgmq](https://github.com/tembo-io/pgmq) | 1.5.2 | **PIGSTY** | A lightweight message queue. Like AWS SQS and RSMQ but on Postgres. | -| [pg_tier](https://github.com/tembo-io/pg_tier) | 0.0.3 | **PIGSTY** | Postgres Extension written in Rust, to enable data tiering to AWS S3 | -| [pg_vectorize](https://github.com/tembo-io/pg_vectorize) | 0.15.0 | **PIGSTY** | The simplest way to orchestrate vector search on Postgres | -| [pg_later](https://github.com/tembo-io/pg_later) | 0.1.0 | **PIGSTY** | Execute SQL now and get the results later. | -| [pg_idkit](https://github.com/VADOSWARE/pg_idkit) | 0.2.3 | **PIGSTY** | Generating many popular types of identifiers | -| [plprql](https://github.com/kaspermarstal/plprql) | 0.1.0 | **PIGSTY** | Use PRQL in PostgreSQL | -| [pgsmcrypto](https://github.com/zhuobie/pgsmcrypto) | 0.1.0 | **PIGSTY** | PostgreSQL SM Algorithm Extension | -| [pg_tiktoken](https://github.com/kelvich/pg_tiktoken) | 0.0.1 | **PIGSTY** | OpenAI tiktoken tokenizer for postgres | -| [pgdd](https://github.com/rustprooflabs/pgdd) | 0.5.2 | **PIGSTY** | Access Data Dictionary metadata with pure SQL | -| [parquet_s3_fdw](https://github.com/pgspider/parquet_s3_fdw) | 1.1.0 | **PIGSTY** | ParquetS3 Foreign Data Wrapper for PostgresSQL | -| [plv8](https://github.com/plv8/plv8) | 3.2.2 | **PIGSTY** | V8 Engine Javascript Procedural Language add-on for PostgreSQL | -| [md5hash](https://github.com/tvondra/md5hash) | 1.0.1 | **PIGSTY** | Custom data type for storing MD5 hashes rather than text | -| [pg_tde](https://github.com/Percona-Lab/pg_tde) | 1.0-alpha | **PIGSTY** | Experimental encrypted access method for PostgreSQL | -| [pg_dirtyread](https://github.com/df7cb/pg_dirtyread) | 2.6 | **PIGSTY** | Read dead but unvacuumed tuples from a PostgreSQL relation | -| pg_bm25 ❋ | 0.5.6 | **PIGSTY** | ParadeDB: pg_bm25: Full text search for PostgreSQL using BM25 (rename to pg_search) | -| svector ❋ | 0.5.6 | **PIGSTY** | pg_sparse: Sparse vector data type and sparse HNSW access methods (depreciated) | -| imgsmlr ❋ | 1.0.0 | **PIGSTY** | ImgSmlr method is based on Haar wavelet transform (pg 16 not supported) | -| pg_similarity ❋ | 1.0.0 | **PIGSTY** | set of functions and operators for executing similarity queries(covered by pgvector) | -| pg_bigm ❋ | 1.2.0 | **PIGSTY** | full text search capability with create 2-gram (bigram) index. (pg 16 not supported) | - -> 注意:一些扩展在 Debian/Ubuntu 系统上不可用,您可以从源码构建安装,包括:`http`, `gzip`, `pg_tle`, `roaringbitmap`, `zhparser`, `pgjwt`, `vault`, `hydra`, `imgsmlr`, `pg_bigm`, `duckdb_fdw`。其中图扩展 `age`, 点云扩展 `pointcloud` 在 Deb 仓库中默认可用,`pg_graphql`,`pg_net`,`pg_bm25`,`pg_analytics`,`svector` 在 Ubuntu 22.04 上可用。 - - -以下是被 Pigsty 收录,可以直接启用的完整插件列表: - -| 名称 | 版本 | 来源 | 类型 | 系统 | 说明 | -|------------------------------|:------:|:----------:|:-----:|---------|-------------------------------------------| -| pgml | 2.8.1 | **PIGSTY** | FEAT | rpm | PostgresML:用SQL运行机器学习算法并训练模型 | -| age | 1.5.0 | **PIGSTY** | FEAT | rpm,deb | Apache AGE,图数据库扩展 (Deb可用) | -| pg_graphql | 1.5.0 | **PIGSTY** | FEAT | rpm,u22 | PG内的 GraphQL 支持 (RUST, supabase) | -| hydra | 1.1.1 | **PIGSTY** | FEAT | rpm | 开源列式存储扩展 | -| pg_analytics | 0.5.6 | **PIGSTY** | FEAT | rpm,u22 | ParadeDB 列存x向量执行分析加速插件 | -| pg_bm25 | 0.5.6 | **PIGSTY** | FEAT | rpm,u22 | ParadeDB BM25算法全文检索插件,ElasticSearch 全文检索 | -| zhparse | 2.2 | **PIGSTY** | FEAT | rpm | 中文分词,全文搜索解析器 | -| pg_bigm ❋ | 1.2.0 | **PIGSTY** | FEAT | rpm | 基于二字组的多语言全文检索扩展 | -| svector | 0.5.6 | **PIGSTY** | FEAT | rpm | ParadeDB 稀疏向量数据库类型与HNSW索引 | -| emaj | 4.3.1 | PGDG | FEAT | rpm | 让数据库的子集具有细粒度日志和时间旅行功能 | -| periods | 1.2 | PGDG | FEAT | rpm | 为 PERIODs 和 SYSTEM VERSIONING 提供标准 SQL 功能 | -| pg_ivm | 1.7 | PGDG | FEAT | rpm | 增量维护的物化视图 | -| pgq | 3.5.1 | PGDG | FEAT | rpm | 通用队列的PG实现 | -| pgq_node | 3.5 | PGDG | FEAT | deb | 级联队列基础设施 | -| pgsodium | 3.1.9 | PGDG | FEAT | rpm | 表数据加密存储 TDE | -| **timescaledb** | 2.14.1 | PGDG | FEAT | rpm | **时序数据库扩展插件** | -| **wal2json** | 2.5.3 | PGDG | FEAT | rpm | **用逻辑解码捕获 JSON 格式的 CDC 变更** | -| **vector** | 0.6.0 | PGDG | FEAT | rpm | **向量数据类型和 ivfflat / hnsw 访问方法** | -| safeupdate | 1.4 | PGDG | FEAT | rpm | 强制在 UPDATE 和 DELETE 时提供 Where 条件 | -| pg_hint_plan | 1.6.0 | PGDG | FEAT | rpm | 添加强制指定执行计划的能力 | -| pg_snakeoil | 1 | PGDG | FEAT | deb | PostgreSQL 反病毒 | -| jsquery | 1.1 | PGDG | FEAT | deb | 用于内省 JSONB 数据类型的查询类型 | -| omnidb_plpgsql_debugger | 1.0.0 | PGDG | FEAT | deb | 在 OmniDB 中启用 PL/pgSQL 调试器 | -| icu_ext | 1.8 | PGDG | FEAT | deb | 访问 ICU 库函数 | -| pgmemcache | 2.3.0 | PGDG | FEAT | deb | 为 PG 提供 memcached 借口 | -| pre_prepare | 0.4 | PGDG | FEAT | deb | 预先在服务段准备好你的 Prepare Statement | -| credcheck | 2.2.0 | PGDG | ADMIN | rpm | 明文凭证检查器 | -| **pg_cron** | 1.6 | PGDG | ADMIN | rpm,deb | **定时任务调度器** | -| pg_background | 1.0 | PGDG | ADMIN | rpm | 在后台运行 SQL 查询 | -| pg_jobmon | 1.4.1 | PGDG | ADMIN | rpm | 记录和监控函数 | -| pg_readonly | 1.0.0 | PGDG | ADMIN | rpm | 将集群设置为只读 | -| **pg_repack** | 1.5.0 | PGDG | ADMIN | rpm | **在线垃圾清理与表膨胀治理** | -| pg_squeeze | 1.6 | PGDG | ADMIN | rpm | 从关系中删除未使用空间 | -| pgfincore | 1.3.1 | PGDG | ADMIN | rpm | 检查和管理操作系统缓冲区缓存 | -| **pglogical** | 2.4.4 | PGDG | ADMIN | rpm | **第三方逻辑复制支持** | -| pglogical_origin | 1.0.0 | PGDG | ADMIN | rpm | 用于从 Postgres 9.4 升级时的兼容性虚拟扩展 | -| pglogical_ticker | 1.4 | PGDG | ADMIN | deb | 展示 pglogical 精确复制延迟的视图 | -| pgl_ddl_deploy | 2.2 | PGDG | ADMIN | deb | 使用 pglogical 执行自动 DDL 部署 | -| toastinfo | 1 | PGDG | ADMIN | deb | 显示 Toasted 数据项详情 | -| pg_fact_loader | 2.0 | PGDG | ADMIN | deb | 在 Postgres 中构建事实表 | -| pgautofailover | 2.1 | PGDG | ADMIN | deb | pg 自动故障迁移 | -| mimeo | 1.5.1 | PGDG | ADMIN | deb | 跨 PostgreSQL 实例的表级复制 | -| prioritize | 1.0 | PGDG | ADMIN | rpm | 获取和设置 PostgreSQL 后端的优先级 | -| pg_tle | 1.3.4 | **PIGSTY** | ADMIN | rpm | AWS 可信语言扩展 | -| set_user | 4.0.1 | PGDG | AUDIT | rpm | 增加了日志记录的 SET ROLE | -| **passwordcracklib** | 3.0.0 | PGDG | AUDIT | rpm | **强制密码策略** | -| pgaudit ❋ | 16.0 | PGDG | AUDIT | rpm,deb | 提供审计功能 | -| pgauditlogtofile | 1.5 | PGDG | AUDIT | deb | pgAudit 子扩展,将审计日志写入单独的文件中 | -| pgcryptokey | 1.0 | PGDG | AUDIT | rpm | PG密钥管理 | -| duckdb_fdw | 1.1 | **PIGSTY** | FDW | rpm | DuckDB 外部数据源包装器 (libduck 0.9.2) | -| hdfs_fdw | 2.0.5 | PGDG | FDW | rpm | hdfs 外部数据包装器 | -| mongo_fdw | 1.1 | PGDG | FDW | rpm | MongoDB 外部数据包装器 | -| multicorn ❋ | 2.4 | PGDG | FDW | rpm | 用 Python 3.6 编写字定义的外部数据源包装器 | -| mysql_fdw | 1.2 | PGDG | FDW | rpm | MySQL外部数据包装器 | -| pgbouncer_fdw | 1.1.0 | PGDG | FDW | rpm | 用 SQL 查询 pgbouncer 统计信息,执行 pgbouncer 命令。 | -| sqlite_fdw | 1.1 | PGDG | FDW | rpm | SQLite 外部数据包装器 | -| tds_fdw | 2.0.3 | PGDG | FDW | rpm | TDS 数据库(Sybase/SQL Server)外部数据包装器 | -| oracle_fdw | 1.2 | PGDG | FDW | deb | Oracle 数据库外部数据源包装器 | -| ogr_fdw | 1.1 | PGDG | FDW | deb | GIS 数据外部数据源包装器 | -| count_distinct | 3.0.1 | PGDG | FUNC | rpm | COUNT(DISTINCT ...) 聚合的替代方案 | -| ddlx | 0.27 | PGDG | FUNC | rpm | DDL 提取器 | -| extra_window_functions | 1.0 | PGDG | FUNC | rpm | 额外的窗口函数 | -| first_last_agg | 0.1.4 | PGDG | FUNC | deb | first() 与 last() 聚合函数 | -| mysqlcompat ❋ | 0.0.7 | PGDG | FUNC | rpm | MySQL 兼容性函数 | -| orafce | 4.9 | PGDG | FUNC | rpm | 模拟 Oracle RDBMS 的一部分函数和包的函数和运算符 | -| pgsql_tweaks | 0.10.2 | PGDG | FUNC | rpm | 一些便利函数与视图 | -| tdigest | 1.4.1 | PGDG | FUNC | rpm | tdigest 聚合函数 | -| topn | 2.6.0 | PGDG | FUNC | rpm | top-n JSONB 的类型 | -| unaccent | 1.1 | PGDG | FUNC | rpm | 删除重音的文本搜索字典 | -| table_log | 0.6.1 | PGDG | FUNC | deb | 一个记录表变更日志的模块 tables | -| pg_sphere | 1.4.2 | PGDG | FUNC | deb | 球面对象的实用函数,运算符与索引支持 | -| pgpcre | 1 | PGDG | FUNC | deb | 兼容 Perl 的正则表达式函数支持(PCRE) | -| q3c | 2.0.1 | PGDG | FUNC | deb | q3c 天空索引插件 | -| **postgis** | 3.4.2 | PGDG | GIS | rpm | PostGIS 几何和地理空间扩展 | -| postgis_raster | 3.4.2 | PGDG | GIS | rpm | PostGIS 光栅类型和函数 | -| postgis_sfcgal | 3.4.2 | PGDG | GIS | rpm | PostGIS SFCGAL 函数 | -| postgis_tiger_geocoder | 3.4.2 | PGDG | GIS | rpm | PostGIS tiger 地理编码器和反向地理编码器 | -| postgis_topology | 3.4.2 | PGDG | GIS | rpm | PostGIS 拓扑空间类型和函数 | -| address_standardizer | 3.4.2 | PGDG | GIS | rpm | 地址标准化函数。 | -| address_standardizer_data_us | 3.4.2 | PGDG | GIS | rpm | 地址标准化函数:美国数据集示例 | -| pointcloud | 1.2.5 | **PIGSTY** | GIS | rpm,deb | 提供激光雷达点云数据类型支持 | -| bloom | 1.0 | PGDG | INDEX | rpm | bloom 索引-基于指纹的索引 | -| hll ❋ | 2.18 | PGDG | INDEX | rpm | hyperloglog 数据类型 | -| pgtt | 3.1.0 | PGDG | INDEX | rpm | 全局临时表功能 | -| rum | 1.3 | PGDG | INDEX | rpm | RUM 索引访问方法 | -| hstore_plperl | 1.0 | PGDG | LANG | rpm | 在 hstore 和 plperl 之间转换适配类型 | -| hstore_plperlu | 1.0 | PGDG | LANG | rpm | 在 hstore 和 plperlu 之间转换适配类型 | -| plpgsql_check | 2.7 | PGDG | LANG | rpm | 对 plpgsql 函数进行扩展检查 | -| plsh | 2 | PGDG | LANG | rpm | PL/sh 程序语言 | -| pllua | 2.0 | PGDG | LANG | deb | Lua 程序语言 | -| plluau | 2.0 | PGDG | LANG | deb | Lua 程序语言(不受信任的) | -| hstore_plluau | 1.0 | PGDG | LANG | deb | 在 hstore 和 plluau 之间转换适配类型 | -| **citus** | 12.1-1 | PGDG | SHARD | rpm | **Citus 分布式数据库** | -| citus_columnar | 11.3-1 | PGDG | SHARD | rpm | **Citus 列式存储** | -| pg_fkpart | 1.7 | PGDG | SHARD | rpm | 按外键实用程序进行表分区的扩展 | -| pg_partman | 5.0.1 | PGDG | SHARD | rpm | 用于按时间或 ID 管理分区表的扩展 | -| plproxy ❋ | 2.10.0 | PGDG | SHARD | rpm,deb | 作为过程语言实现的数据库分区 | -| pg_show_plans | 2.0 | PGDG | STAT | deb | 打印当前运行 SQL 语句的查询计划 | -| hypopg | 1.4.0 | PGDG | STAT | rpm | 假设索引,用于创建一个虚拟索引检验执行计划 | -| logerrors | 2.1 | PGDG | STAT | rpm | 用于收集日志文件中消息统计信息的函数 | -| pg_auth_mon | 1.1 | PGDG | STAT | rpm | 监控每个用户的连接尝试 | -| pg_permissions | 1.1 | PGDG | STAT | rpm | 查看对象权限并将其与期望状态进行比较 | -| pg_qualstats | 2.1.0 | PGDG | STAT | rpm | 收集有关 quals 的统计信息的扩展 | -| pg_stat_kcache | 2.2.3 | PGDG | STAT | rpm | 内核统计信息收集 | -| pg_stat_monitor | 2.0 | PGDG | STAT | rpm | 提供查询聚合统计、客户端信息、执行计划详细信息和直方图 | -| pg_store_plans ❋ | 1.7 | PGDG | STAT | rpm | 跟踪所有执行的 SQL 语句的计划统计信息 | -| pg_track_settings | 2.1.2 | PGDG | STAT | rpm | 跟踪设置更改 | -| pg_wait_sampling | 1.1 | PGDG | STAT | rpm | 基于采样的等待事件统计 | -| pldbgapi | 1.1 | PGDG | STAT | rpm | 用于调试 PL/pgSQL 函数的服务器端支持 | -| plprofiler | 4.2 | PGDG | STAT | rpm | 剖析 PL/pgSQL 函数 | -| powa | 4.2.2 | PGDG | STAT | rpm | PostgreSQL 工作负载分析器-核心 | -| system_stats ❋ | 1.0 | PGDG | STAT | rpm | PostgreSQL 的系统统计函数 | -| asn1oid | 1 | PGDG | TYPE | deb | 提供 ASN.1 OID 数据类型 | -| citext | 1.6 | PGDG | TYPE | deb | 提供大小写不敏感的字符串类型 | -| debversion | 1.1 | PGDG | TYPE | deb | Debian 版本号数据类型 | -| geoip ❋ | 0.2.4 | PGDG | TYPE | rpm | IP 地理位置扩展(围绕 MaxMind GeoLite 数据集的包装器) | -| ip4r | 2.4 | PGDG | TYPE | rpm | PostgreSQL 的 IPv4/v6 和 IPv4/v6 范围索引类型 | -| pg_uuidv7 | 1.4 | PGDG | TYPE | rpm | UUIDv7 支持 | -| pgmp | 1.1 | PGDG | TYPE | rpm | 多精度算术扩展 | -| semver | 0.32.1 | PGDG | TYPE | rpm | 语义版本号数据类型 | -| timestamp9 | 1.4.0 | PGDG | TYPE | rpm | 纳秒分辨率时间戳 | -| unit ❋ | 7 | PGDG | TYPE | rpm,deb | SI 国标单位扩展 | -| numeral | 1 | PGDG | TYPE | deb | 将数字转换为各语言的文本表示 | -| pg_rational | 0.0.1 | PGDG | TYPE | deb | 有理数数据里诶行,可以表示 bigint 的分数 | -| roaringbitmap | 0.5 | **PIGSTY** | TYPE | rpm | 支持RoaringBitmap数据类型 | -| amcheck | 1.3 | PGDG | INDEX | rpm | 校验关系完整性 | -| adminpack | 2.1 | CONTRIB | ADMIN | sys | PostgreSQL 管理函数集合 | -| lo | 1.1 | CONTRIB | ADMIN | sys | 大对象维护 | -| old_snapshot | 1.0 | CONTRIB | ADMIN | sys | 支持 old_snapshot_threshold 的实用程序 | -| pg_prewarm | 1.2 | CONTRIB | ADMIN | sys | 预热关系数据 | -| pg_surgery | 1.0 | CONTRIB | ADMIN | sys | 对损坏的关系进行手术 | -| dblink | 1.2 | CONTRIB | FDW | sys | 从数据库内连接到其他 PostgreSQL 数据库 | -| file_fdw | 1.0 | CONTRIB | FDW | sys | 访问外部文件的外部数据包装器 | -| postgres_fdw | 1.1 | CONTRIB | FDW | sys | 用于远程 PostgreSQL 服务器的外部数据包装器 | -| gzip | 1.0 | **PIGSTY** | FUNC | rpm | 使用SQL执行Gzip压缩与解压缩 | -| http | 1.6 | **PIGSTY** | FUNC | rpm | HTTP客户端,允许在数据库内收发HTTP请求 (supabase) | -| pg_net | 0.8.0 | **PIGSTY** | FUNC | rpm,u22 | 用 SQL 进行异步非阻塞HTTP/HTTPS 请求的扩展 (supabase) | -| pgjwt | 0.2.0 | **PIGSTY** | FUNC | rpm | JSON Web Token API 的PG实现 (supabase) | -| vault | 0.2.9 | **PIGSTY** | FUNC | rpm | 在 Vault 中存储加密凭证的扩展 (supabase) | -| imgsmlr ❋ | 1.0.0 | **PIGSTY** | FUNC | rpm | 使用Haar小波分析计算图片相似度 | -| pg_similarity ❋ | 1.0.0 | **PIGSTY** | FUNC | rpm,deb | 提供17种距离度量函数 | -| autoinc | 1.0 | CONTRIB | FUNC | sys | 用于自动递增字段的函数 | -| dict_int | 1.0 | CONTRIB | FUNC | sys | 用于整数的文本搜索字典模板 | -| dict_xsyn | 1.0 | CONTRIB | FUNC | sys | 用于扩展同义词处理的文本搜索字典模板 | -| earthdistance | 1.1 | CONTRIB | FUNC | sys | 计算地球表面上的大圆距离 | -| fuzzystrmatch | 1.1 | CONTRIB | FUNC | sys | 确定字符串之间的相似性和距离 | -| insert_username | 1.0 | CONTRIB | FUNC | sys | 用于跟踪谁更改了表的函数 | -| intagg | 1.1 | CONTRIB | FUNC | sys | 整数聚合器和枚举器(过时) | -| intarray | 1.5 | CONTRIB | FUNC | sys | 1维整数数组的额外函数、运算符和索引支持 | -| moddatetime | 1.0 | CONTRIB | FUNC | sys | 跟踪最后修改时间 | -| pg_trgm | 1.6 | CONTRIB | FUNC | sys | 文本相似度测量函数与模糊检索 | -| pgcrypto | 1.3 | CONTRIB | FUNC | sys | 实用加解密函数 | -| refint | 1.0 | CONTRIB | FUNC | sys | 实现引用完整性的函数 | -| tablefunc | 1.0 | CONTRIB | FUNC | sys | 交叉表函数 | -| tcn | 1.0 | CONTRIB | FUNC | sys | 用触发器通知变更 | -| tsm_system_rows | 1.0 | CONTRIB | FUNC | sys | 接受行数限制的 TABLESAMPLE 方法 | -| tsm_system_time | 1.0 | CONTRIB | FUNC | sys | 接受毫秒数限制的 TABLESAMPLE 方法 | -| uuid-ossp | 1.1 | CONTRIB | FUNC | sys | 生成通用唯一标识符(UUIDs) | -| btree_gin | 1.3 | CONTRIB | FUNC | sys | 用GIN索引常见数据类型 | -| btree_gist | 1.7 | CONTRIB | FUNC | sys | 用GiST索引常见数据类型 | -| bool_plperl | 1.0 | CONTRIB | LANG | sys | 在 bool 和 plperl 之间转换 | -| bool_plperlu | 1.0 | CONTRIB | LANG | sys | 在 bool 和 plperlu 之间转换 | -| hstore_plpython3u | 1.0 | CONTRIB | LANG | sys | 在 hstore 和 plpython3u 之间转换 | -| jsonb_plperl | 1.0 | CONTRIB | LANG | sys | 在 jsonb 和 plperl 之间转换 | -| jsonb_plperlu | 1.0 | CONTRIB | LANG | sys | 在 jsonb 和 plperlu 之间转换 | -| jsonb_plpython3u | 1.0 | CONTRIB | LANG | sys | 在 jsonb 和 plpython3u 之间转换 | -| ltree_plpython3u | 1.0 | CONTRIB | LANG | sys | 在 ltree 和 plpython3u 之间转换 | -| plperl | 1.0 | CONTRIB | LANG | sys | PL/Perl 存储过程语言 | -| plperlu | 1.0 | CONTRIB | LANG | sys | PL/PerlU 存储过程语言(未受信/高权限) | -| plpgsql | 1.0 | CONTRIB | LANG | sys | PL/pgSQL 程序设计语言 | -| plpython3u | 1.0 | CONTRIB | LANG | sys | PL/Python3 存储过程语言(未受信/高权限) | -| pltcl | 1.0 | CONTRIB | LANG | sys | PL/TCL 存储过程语言 | -| pltclu | 1.0 | CONTRIB | LANG | sys | PL/TCL 存储过程语言(未受信/高权限) | -| pageinspect | 1.12 | CONTRIB | STAT | sys | 检查数据库页面二进制内容 | -| pg_buffercache | 1.3 | CONTRIB | STAT | sys | 检查共享缓冲区缓存 | -| pg_freespacemap | 1.2 | CONTRIB | STAT | sys | 检查自由空间映射的内容(FSM) | -| pg_stat_statements | 1.10 | CONTRIB | STAT | sys | 跟踪所有执行的 SQL 语句的计划和执行统计信息 | -| pg_visibility | 1.2 | CONTRIB | STAT | sys | 检查可见性图(VM)和页面级可见性信息 | -| pg_walinspect | 1.1 | CONTRIB | STAT | sys | 用于检查 PostgreSQL WAL 日志内容的函数 | -| pgrowlocks | 1.2 | CONTRIB | STAT | sys | 显示行级锁信息 | -| pgstattuple | 1.5 | CONTRIB | STAT | sys | 显示元组级统计信息 | -| sslinfo | 1.2 | CONTRIB | STAT | sys | 关于 SSL 证书的信息 | -| cube | 1.5 | CONTRIB | TYPE | sys | 用于存储多维立方体的数据类型 | -| hstore | 1.8 | CONTRIB | TYPE | sys | 用于存储(键,值)对集合的数据类型 | -| isn | 1.2 | CONTRIB | TYPE | sys | 用于国际产品编号标准的数据类型 | -| ltree | 1.2 | CONTRIB | TYPE | sys | 用于表示分层树状结构的数据类型 | -| prefix | 1.2.0 | CONTRIB | TYPE | sys | 前缀树数据类型 | -| seg | 1.4 | CONTRIB | TYPE | sys | 表示线段或浮点间隔的数据类型 | -| xml2 | 1.1 | CONTRIB | TYPE | sys | XPath 查询和 XSLT | - -> 带有 '❋' 标记的扩展目前尚未提供对 PG16 的支持,但仍可在旧版本(15-)的 PostgreSQL 上使用。 + +Pigsty 提供了丰富的 PostgreSQL 扩展插件支持,包括 **230** 个 [**RPM扩展**](#rpm扩展) 与 **189** 个 [**DEB扩展**](#deb扩展)。 + +Pigsty 总共提供了 **255** 个可用扩展,其中含 PostgreSQL 自带的 **73** 个[**内置扩展**](#自带扩展))。 [**Pigsty 仓库**](#pigsty扩展)的 维护了 **34** 个 RPM 扩展与 **10** 个 DEB 扩展。 + + +----------------- + +### RPM扩展 + +Pigsty 在 [EL系操作系统](/zh/docs/reference/compatibility#el系发行版支持) 上共有 **230** 个扩展,其中包括 **73** 个 PostgreSQL [自带扩展](#自带扩展) 和 **157** 个额外的 RPM 扩展,其中由 Pigsty 维护的占 **34** 个。 + +> 统计以 EL8 版本为基准,有 6 个扩展尚未针对 PG 16 完成适配(带有 `❋` 标记) —— 故目前实际可用扩展为 224 个。 + +| 扩展 | 版本 | 包名 | 仓库 | 包名 | 说明 | 备注 | +|:-----------------------------|:--------|:-------|:----------------|:----------------------------|:------------------------------------------|:--------------------| +| ddlx | 0.27 | ADMIN | pgdg16 | ddlx_16 | DDL 提取器 | | +| **pg_cron** | 1.6 | ADMIN | pgdg16 | pg_cron_16 | 定时任务调度器 | | +| pg_dirtyread | 2 | ADMIN | pigsty-pgsql | pg_dirtyread_16 | 从表中读取尚未垃圾回收的行 | | +| pg_readonly | 1.0.0 | ADMIN | pgdg16 | pg_readonly_16 | 将集群设置为只读 | | +| **pg_repack** | 1.5.0 | ADMIN | pgdg16 | pg_repack_16 | 在线垃圾清理与表膨胀治理 | | +| pg_squeeze | 1.6 | ADMIN | pgdg16 | pg_squeeze_16 | 从关系中删除未使用空间 | | +| pgagent | 4.2 | ADMIN | pgdg16 | pgagent_16 | PostgreSQL任务调度工具,与PGADMIN配合使用 | | +| pgautofailover | 2.1 | ADMIN | pgdg16 | pg_auto_failover_16 | PG 自动故障迁移 | | +| pgdd | 0.5.2 | ADMIN | pigsty-pgsql | pgdd_16 | 提供通过标准SQL查询数据库目录集簇的能力 | | +| pgfincore | 1.3.1 | ADMIN | pgdg16 | pgfincore_16 | 检查和管理操作系统缓冲区缓存 | | +| pgl_ddl_deploy | 2.2 | ADMIN | pgdg16 | pgl_ddl_deploy_16 | 使用 pglogical 执行自动 DDL 部署 | | +| pgpool_adm | 1.5 | ADMIN | pgdg16 | pgpool-II-pg16-extensions | PGPool 管理函数 | | +| pgpool_recovery | 1.4 | ADMIN | pgdg16 | pgpool-II-pg16-extensions | PGPool辅助扩展,从v4.3提供的恢复函数 | | +| pgpool_regclass | 1.0 | ADMIN | pgdg16 | pgpool-II-pg16-extensions | PGPool辅助扩展,RegClass替代 | | +| prioritize | 1.0 | ADMIN | pgdg16 | prioritize_16 | 获取和设置 PostgreSQL 后端的优先级 | | +| safeupdate | 1.4 | ADMIN | pgdg16 | safeupdate_16 | 强制在 UPDATE 和 DELETE 时提供 Where 条件 | | +| pg_tiktoken | 0.0.1 | AI | pigsty-pgsql | pg_tiktoken_16 | 在PostgreSQL中计算OpenAI使用的Token数 | | +| **pgml** | 2.8.1 | AI | pigsty-pgsql | pgml_16 | PostgresML:用SQL运行机器学习算法并训练模型 | | +| svector | 0.6.1 | AI | pigsty-pgsql | pg_sparse_16 | ParadeDB 稀疏向量数据库类型与HNSW索引 | obsolete | +| **vector** | 0.7.0 | AI | pgdg16 | pgvector_16 | 向量数据类型和 ivfflat / hnsw 访问方法 | | +| vectorize | 0.15.0 | AI | pigsty-pgsql | pg_vectorize_16 | 在PostgreSQL中封装RAG向量检索服务 | deps: pgmq, pg_cron | +| decoderbufs | 0.1.0 | ETL | pgdg16 | postgres-decoderbufs_16 | 将WAL逻辑解码为ProtocolBuffer协议的消息 | | +| pg_bulkload | 3.1.21 | ETL | pgdg16 | pg_bulkload_16 | 向 PostgreSQL 中高速加载数据 | | +| pg_fact_loader | 2.0 | ETL | pgdg16 | pg_fact_loader_16 | 在 Postgres 中构建事实表 | | +| **wal2json** | 2.5.3 | ETL | pgdg16 | wal2json_16 | 用逻辑解码捕获 JSON 格式的 CDC 变更 | | +| db2_fdw | 6.0.1 | FDW | pgdg16-non-free | db2_fdw_16 | 提供对DB2的外部数据源包装器 | extra db2 deps | +| hdfs_fdw | 2.0.5 | FDW | pgdg16 | hdfs_fdw_16 | hdfs 外部数据包装器 | | +| mongo_fdw | 1.1 | FDW | pgdg16 | mongo_fdw_16 | MongoDB 外部数据包装器 | | +| mysql_fdw | 1.2 | FDW | pgdg16 | mysql_fdw_16 | MySQL外部数据包装器 | | +| ogr_fdw | 1.1 | FDW | pgdg16 | ogr_fdw_16 | GIS 数据外部数据源包装器 | | +| oracle_fdw | 1.2 | FDW | pgdg16-non-free | oracle_fdw_16 | 提供对Oracle的外部数据源包装器 | extra oracle deps | +| pgbouncer_fdw | 1.1.0 | FDW | pgdg16 | pgbouncer_fdw_16 | 用 SQL 查询 pgbouncer 统计信息,执行 pgbouncer 命令。 | | +| sqlite_fdw | 1.1 | FDW | pgdg16 | sqlite_fdw_16 | SQLite 外部数据包装器 | | +| tds_fdw | 2.0.3 | FDW | pgdg16 | tds_fdw_16 | TDS 数据库(Sybase/SQL Server)外部数据包装器 | | +| **wrappers** | 0.3.1 | FDW | pigsty-pgsql | wrappers_16 | Supabase提供的外部数据源包装器捆绑包 | | +| **age** | 1.5.0 | FEAT | pigsty-pgsql | age_16 | Apache AGE,图数据库扩展 (Deb可用) | | +| emaj | 4.4.0 | FEAT | pgdg16 | e-maj_16 | 让数据库的子集具有细粒度日志和时间旅行功能 | | +| hll | 2.18 | FEAT | pgdg16 | hll_16 | hyperloglog 数据类型 | | +| hypopg | 1.4.1 | FEAT | pgdg16 | hypopg_16 | 假设索引,用于创建一个虚拟索引检验执行计划 | | +| jsquery | 1.1 | FEAT | pgdg16 | jsquery_16 | 用于内省 JSONB 数据类型的查询类型 | | +| periods | 1.2 | FEAT | pgdg16 | periods_16 | 为 PERIODs 和 SYSTEM VERSIONING 提供标准 SQL 功能 | | +| **pg_graphql** | 1.5.4 | FEAT | pigsty-pgsql | pg_graphql_16 | PG内的 GraphQL 支持 (RUST, supabase) | | +| pg_hint_plan | 1.6.0 | FEAT | pgdg16 | pg_hint_plan_16 | 添加强制指定执行计划的能力 | | +| pg_ivm | 1.8 | FEAT | pgdg16 | pg_ivm_16 | 增量维护的物化视图 | | +| **pg_jsonschema** | 0.3.1 | FEAT | pigsty-pgsql | pg_jsonschema_16 | 提供JSON Schema校验能力 | | +| **pg_strom** | 5.1 | FEAT | pgdg16-non-free | pg_strom_16 | 使用GPU与NVMe加速大数据处理 | extra cuda deps | +| **pgmq** | 1.1.1 | FEAT | pigsty-pgsql | pgmq_16 | 基于Postgres实现类似AWS SQS/RSMQ的消息队列 | | +| **pgq** | 3.5.1 | FEAT | pgdg16 | pgq_16 | 通用队列的PG实现 | | +| pgtt | 3.1.0 | FEAT | pgdg16 | pgtt_16 | 全局临时表功能 | | +| rum | 1.3 | FEAT | pgdg16 | rum_16 | RUM 索引访问方法 | | +| table_version | 1.10.3 | FEAT | pgdg16 | table_version_16 | PostgreSQL 版本控制表扩展 | | +| temporal_tables | 1.2.2 | FEAT | pgdg16 | temporal_tables_16 | 时态表功能支持 | | +| count_distinct | 3.0.1 | FUNC | pgdg16 | count_distinct_16 | COUNT(DISTINCT ...) 聚合的替代方案 | | +| extra_window_functions | 1.0 | FUNC | pgdg16 | extra_window_functions_16 | 额外的窗口函数 | | +| gzip | 1.0 | FUNC | pgdg16 | pgsql_gzip_16 | 使用SQL执行Gzip压缩与解压缩 | new in pgdg | +| http | 1.6 | FUNC | pgdg16 | pgsql_http_16 | HTTP客户端,允许在数据库内收发HTTP请求 (supabase) | new in pgdg | +| pg_background | 1.0 | FUNC | pgdg16 | pg_background_16 | 在后台运行 SQL 查询 | | +| pg_idkit | 0.2.3 | FUNC | pigsty-pgsql | pg_idkit_16 | 生成各式各样的唯一标识符:UUIDv6, ULID, KSUID | | +| pg_later | 0.1.0 | FUNC | pigsty-pgsql | pg_later_16 | 执行查询,并在稍后异步获取查询结果 | dep: pgmq | +| **pg_net** | 0.9.1 | FUNC | pgdg16 | pg_net_16 | 用 SQL 进行异步非阻塞HTTP/HTTPS 请求的扩展 (supabase) | | +| pgjwt | 0.2.0 | FUNC | pigsty-pgsql | pgjwt_16 | JSON Web Token API 的PG实现 (supabase) | | +| pgsql_tweaks | 0.10.2 | FUNC | pgdg16 | pgsql_tweaks_16 | 一些便利函数与视图 | | +| tdigest | 1.4.1 | FUNC | pgdg16 | tdigest_16 | tdigest 聚合函数 | | +| topn | 2.6.0 | FUNC | pgdg16 | topn_16 | top-n JSONB 的类型 | | +| address_standardizer | 3.4.2 | GIS | pgdg16 | postgis34_16 | 地址标准化函数。 | | +| address_standardizer_data_us | 3.4.2 | GIS | pgdg16 | postgis34_16 | 地址标准化函数:美国数据集示例 | | +| h3 | 4.1.3 | GIS | pgdg16 | h3-pg_16 | H3六边形层级索引支持 | | +| h3_postgis | 4.1.3 | GIS | pgdg16 | h3-pg_16 | 将 H3 与 PostGIS相集成 | | +| pgrouting | 3.6.0 | GIS | pgdg16 | pgrouting_16 | 提供寻路能力 | | +| pointcloud | 1.2.5 | GIS | pigsty-pgsql | pointcloud_16 | 提供激光雷达点云数据类型支持 | | +| pointcloud_postgis | 1.2.5 | GIS | pgdg16 | pointcloud_16 | 将激光雷达点云与PostGIS几何类型相集成 | | +| **postgis** | 3.4.2 | GIS | pgdg16 | postgis34_16 | PostGIS 几何和地理空间扩展 | | +| postgis_raster | 3.4.2 | GIS | pgdg16 | postgis34_16 | PostGIS 光栅类型和函数 | | +| postgis_sfcgal | 3.4.2 | GIS | pgdg16 | postgis34_16 | PostGIS SFCGAL 函数 | | +| postgis_tiger_geocoder | 3.4.2 | GIS | pgdg16 | postgis34_16 | PostGIS tiger 地理编码器和反向地理编码器 | | +| postgis_topology | 3.4.2 | GIS | pgdg16 | postgis34_16 | PostGIS 拓扑空间类型和函数 | | +| pg_tle | 1.4.0 | LANG | pigsty-pgsql | pg_tle_16 | AWS 可信语言扩展 | | +| pldbgapi | 1.1 | LANG | pgdg16 | pldebugger_16 | 用于调试 PL/pgSQL 函数的服务器端支持 | | +| pllua | 2.0 | LANG | pgdg16 | pllua_16 | Lua 程序语言 | | +| plluau | 2.0 | LANG | pgdg16 | pllua_16 | Lua 程序语言(不受信任的) | | +| plpgsql_check | 2.7 | LANG | pgdg16 | plpgsql_check_16 | 对 plpgsql 函数进行扩展检查 | | +| plprql | 0.1.0 | LANG | pigsty-pgsql | plprql_16 | 在PostgreSQL使用PRQL——管线式关系查询语言 | | +| plr | 8.4.6 | LANG | pgdg16 | plr_16 | 从数据库中加载R语言解释器并执行R脚本 | | +| plsh | 2 | LANG | pgdg16 | plsh_16 | PL/sh 程序语言 | | +| **plv8** | 3.2.2 | LANG | pigsty-pgsql | plv8_16 | PL/JavaScript (v8) 可信过程程序语言 | | +| citus_columnar | 11.3-1 | OLAP | pgdg16 | citus_16 | Citus 列式存储 | citus | +| **columnar** | 11.1-11 | OLAP | pigsty-pgsql | hydra_16 | 开源列式存储扩展 | hydra 1.1.2 | +| **duckdb_fdw** | 1.1 | OLAP | pigsty-pgsql | duckdb_fdw_16 | DuckDB 外部数据源包装器 (libduck 0.10.2) | libduckdb 0.10.2 | +| **parquet_s3_fdw** | 0.3 | OLAP | pigsty-pgsql | parquet_s3_fdw_16 | 针对S3/MinIO上的Parquet文件的外部数据源包装器 | deps: libarrow-s3 | +| **pg_analytics** | 0.6.1 | OLAP | pigsty-pgsql | pg_analytics_16 | ParadeDB 列存x向量执行分析加速插件 | | +| **pg_lakehouse** | 0.7.0 | OLAP | pigsty-pgsql | pg_lakehouse_16 | ParadeDB 湖仓分析引擎 | rust | +| pg_tier | 0.0.3 | OLAP | pigsty-pgsql | pg_tier_16 | 将冷数据分级存储至S3 | 依赖parquet_s3_fdw | +| **timescaledb** | 2.15.0 | OLAP | timescaledb | timescaledb-2-postgresql-16 | 时序数据库扩展插件 | | +| **pglogical** | 2.4.4 | REPL | pgdg16 | pglogical_16 | 第三方逻辑复制支持 | | +| pglogical_origin | 1.0.0 | REPL | pgdg16 | pglogical_16 | 用于从 Postgres 9.4 升级时的兼容性虚拟扩展 | | +| repmgr | 5.4 | REPL | pgdg16 | repmgr_16 | PostgreSQL复制管理组件 | | +| pg_bigm | 1.2 | SEARCH | pgdg16 | pg_bigm_16 | 基于二字组的多语言全文检索扩展 | | +| **pg_search** | 0.7.0 | SEARCH | pigsty-pgsql | pg_search_16 | ParadeDB BM25算法全文检索插件,ES全文检索 | old name: pg_bm25 | +| **zhparser** | 2.2 | SEARCH | pigsty-pgsql | zhparser_16 | 中文分词,全文搜索解析器 | deps: scws | +| anon | 1.3.2 | SEC | pgdg16 | postgresql_anonymizer_16 | 数据匿名化处理工具 | | +| credcheck | 2.7.0 | SEC | pgdg16 | credcheck_16 | 明文凭证检查器 | | +| logerrors | 2.1 | SEC | pgdg16 | logerrors_16 | 用于收集日志文件中消息统计信息的函数 | | +| login_hook | 1.5 | SEC | pgdg16 | login_hook_16 | 在用户登陆时执行login_hook.login()函数 | | +| passwordcracklib | 3.0.0 | SEC | pgdg16 | passwordcracklib_16 | 使用cracklib加固PG用户密码 | | +| pg_auth_mon | 1.1 | SEC | pgdg16 | pg_auth_mon_16 | 监控每个用户的连接尝试 | | +| pg_jobmon | 1.4.1 | SEC | pgdg16 | pg_jobmon_16 | 记录和监控函数 | | +| **pg_tde** | 1.0 | SEC | pigsty-pgsql | pg_tde_16 | 试点性质的加密存储引擎 | alpha | +| pgaudit | 16.0 | SEC | pgdg16 | pgaudit_16 | 提供审计功能 | | +| pgauditlogtofile | 1.5 | SEC | pgdg16 | pgauditlogtofile_16 | pgAudit 子扩展,将审计日志写入单独的文件中 | | +| pgcryptokey | 1.0 | SEC | pgdg16 | pgcryptokey_16 | PG密钥管理 | | +| **pgsmcrypto** | 0.1.0 | SEC | pigsty-pgsql | pgsmcrypto_16 | 为PostgreSQL提供商密算法支持:SM2,SM3,SM4 | | +| pgsodium | 3.1.9 | SEC | pgdg16 | pgsodium_16 | 表数据加密存储 TDE | | +| set_user | 4.0.1 | SEC | pgdg16 | set_user_16 | 增加了日志记录的 SET ROLE | | +| supabase_vault | 0.2.8 | SEC | pigsty-pgsql | vault_16 | 在 Vault 中存储加密凭证的扩展 (supabase) | | +| **citus** | 12.1-1 | SHARD | pgdg16 | citus_16 | Citus 分布式数据库 | | +| pg_fkpart | 1.7 | SHARD | pgdg16 | pg_fkpart_16 | 按外键实用程序进行表分区的扩展 | | +| pg_partman | 5.1.0 | SHARD | pgdg16 | pg_partman_16 | 用于按时间或 ID 管理分区表的扩展 | | +| orafce | 4.10 | SIM | pgdg16 | orafce_16 | 模拟 Oracle RDBMS 的一部分函数和包的函数和运算符 | | +| pg_dbms_job | 1.5.0 | SIM | pgdg16 | pg_dbms_job_16 | 添加 Oracle DBMS_JOB 兼容性支持的扩展 | | +| pg_dbms_lock | 1.0.0 | SIM | pgdg16 | pg_dbms_lock_16 | 为PG添加对 Oracle DBMS_LOCK 的完整兼容性支持 | | +| pg_dbms_metadata | 1.0.0 | SIM | pgdg16 | pg_dbms_metadata_16 | 添加 Oracle DBMS_METADATA 兼容性支持的扩展 | | +| pg_extra_time | 1.1.2 | SIM | pgdg16 | pg_extra_time_16 | 一些关于日期与时间的扩展函数 | | +| pgmemcache | 2.3.0 | SIM | pgdg16 | pgmemcache_16 | 为 PG 提供 memcached 借口 | | +| pg_permissions | 1.1 | STAT | pgdg16 | pg_permissions_16 | 查看对象权限并将其与期望状态进行比较 | | +| pg_profile | 4.6 | STAT | pgdg16 | pg_profile_16 | PostgreSQL 数据库负载记录与AWR报表工具 | | +| pg_qualstats | 2.1.0 | STAT | pgdg16 | pg_qualstats_16 | 收集有关 quals 的统计信息的扩展 | | +| pg_show_plans | 2.1 | STAT | pgdg16 | pg_show_plans_16 | 打印所有当前正在运行查询的执行计划 | | +| pg_stat_kcache | 2.2.3 | STAT | pgdg16 | pg_stat_kcache_16 | 内核统计信息收集 | | +| pg_stat_monitor | 2.0 | STAT | pgdg16 | pg_stat_monitor_16 | 提供查询聚合统计、客户端信息、执行计划详细信息和直方图 | | +| pg_statviz | 0.6 | STAT | pgdg16 | pg_statviz_extension_16 | 可视化统计指标并分析时间序列 | | +| pg_store_plans | 1.8 | STAT | pgdg16 | pg_store_plans_16 | 跟踪所有执行的 SQL 语句的计划统计信息 | | +| pg_track_settings | 2.1.2 | STAT | pgdg16 | pg_track_settings_16 | 跟踪设置更改 | | +| pg_wait_sampling | 1.1 | STAT | pgdg16 | pg_wait_sampling_16 | 基于采样的等待事件统计 | | +| pgexporter_ext | 0.2.3 | STAT | pgdg16 | pgexporter_ext_16 | PGExporter的额外指标支持 | | +| pgmeminfo | 1.0 | STAT | pgdg16 | pgmeminfo_16 | 显示内存使用情况 | | +| plprofiler | 4.2 | STAT | pgdg16 | plprofiler_16 | 剖析 PL/pgSQL 函数 | | +| powa | 4.2.2 | STAT | pgdg16 | powa_16 | PostgreSQL 工作负载分析器-核心 | | +| system_stats | 2.0 | STAT | pgdg16 | system_stats_16 | PostgreSQL 的系统统计函数 | | +| dbt2 | 0.45.0 | TEST | pgdg16 | dbt2-pg16-extensions | OSDL-DBT-2 测试组件 | | +| faker | 0.5.3 | TEST | pgdg16 | postgresql_faker_16 | 插入生成的测试伪造数据,Python库的包装 | postgresql_faker | +| pgtap | 1.3.3 | TEST | pgdg16 | pgtap_16 | PostgreSQL单元测试框架 | | +| ip4r | 2.4 | TYPE | pgdg16 | ip4r_16 | PostgreSQL 的 IPv4/v6 和 IPv4/v6 范围索引类型 | | +| md5hash | 1.0.1 | TYPE | pigsty-pgsql | md5hash_16 | 提供128位MD5的原生数据类型 | | +| pg_uuidv7 | 1.5 | TYPE | pgdg16 | pg_uuidv7_16 | UUIDv7 支持 | | +| pgmp | 1.1 | TYPE | pgdg16 | pgmp_16 | 多精度算术扩展 | | +| prefix | 1.2.0 | TYPE | pgdg16 | prefix_16 | 前缀树数据类型 | | +| roaringbitmap | 0.5 | TYPE | pigsty-pgsql | pg_roaringbitmap_16 | 支持RoaringBitmap数据类型 | | +| semver | 0.32.1 | TYPE | pgdg16 | semver_16 | 语义版本号数据类型 | | +| timestamp9 | 1.4.0 | TYPE | pgdg16 | timestamp9_16 | 纳秒分辨率时间戳 | | +| uint | 0 | TYPE | pgdg16 | uint_16 | 无符号整型数据类型 | | +| unit | 7 | TYPE | pgdg16 | postgresql-unit_16 | SI 国标单位扩展 | | +| imgsmlr ❋ | 1.0.0 | AI | pigsty-pgsql | imgsmlr_16 | 使用Haar小波分析计算图片相似度 | | +| pg_similarity ❋ | 1.0.0 | AI | pigsty-pgsql | pg_similarity_16 | 提供17种距离度量函数 | | +| multicorn ❋ | 2.4 | FDW | pgdg16 | multicorn2_16 | 用Python编写自定义的外部数据源包装器 | | +| geoip ❋ | 0.2.4 | GIS | pgdg16 | geoip_16 | IP 地理位置扩展(围绕 MaxMind GeoLite 数据集的包装器) | | +| plproxy ❋ | 2.10.0 | SHARD | pgdg16 | plproxy_16 | 作为过程语言实现的数据库分区 | | +| mysqlcompat ❋ | 0.0.7 | SIM | pgdg16 | mysqlcompat_16 | 尽可能在PG中实现MySQL的提供的函数 | | + + +
安装所有 EL8 扩展插件 + +```bash +yum install postgis34_16* timescaledb-2-postgresql-16* pgvector_16* pglogical_16* pg_cron_16* vault_16* pgjwt_16* pg_roaringbitmap_16* zhparser_16* hydra_16* apache-age_16* duckdb_fdw_16* pg_tde_16* md5hash_16* pg_dirtyread_16* plv8_16* parquet_s3_fdw_16* pgml_16 pg_graphql_16 wrappers_16 pg_jsonschema_16 pg_search_16 pg_lakehouse_16 pg_analytics_16 pgmq_16 pg_tier_16 pg_later_16 pg_vectorize_16 pg_tiktoken_16 pgdd_16 plprql_16 pgsmcrypto_16 pg_idkit_16 scws libduckdb libarrow-s3 pgFormatter pgxnclient luapgsql pgcopydb bgw_replstatus_16* count_distinct_16* credcheck_16* ddlx_16* e-maj_16* extra_window_functions_16* h3-pg_16* hdfs_fdw_16* hll_16* hypopg_16* ip4r_16* jsquery_16* logerrors_16* login_hook_16* mongo_fdw_16* mysql_fdw_16* ogr_fdw_16* orafce_16* passwordcheck_cracklib_16* periods_16* pg_auth_mon_16* pg_auto_failover_16* pg_background_16* pg_bigm_16* pg_bulkload_16* pg_catcheck_16* pg_checksums_16* pg_comparator_16* pg_dbms_job_16* pg_dbms_lock_16* pg_dbms_metadata_16* pg_extra_time_16* pg_fact_loader_16* pg_failover_slots_16* pg_filedump_16* pg_fkpart_16* pg_hint_plan_16* pg_ivm_16* pg_jobmon_16* pg_net_16* pg_partman_16* pg_permissions_16* pg_prioritize_16* pg_profile_16* pg_qualstats_16* pg_readonly_16* pg_show_plans_16* pg_squeeze_16* pg_stat_kcache_16* pg_stat_monitor_16* pg_statement_rollback_16* pg_statviz_extension_16 pg_store_plans_16* pg_tle_16* pg_top_16* pg_track_settings_16* pg_uuidv7_16* pg_wait_sampling_16* pgagent_16* pgaudit_16* pgauditlogtofile_16* pgbouncer_fdw_16* pgcryptokey_16* pgexportdoc_16* pgfincore_16* pgimportdoc_16* pgl_ddl_deploy_16* pgmemcache_16* pgmeminfo_16* pgmp_16* pgq_16* pgrouting_16* pgsodium_16* pgsql_gzip_16* pgsql_http_16* pgsql_tweaks_16* pgtap_16* pgtt_16* pguint_16* pldebugger_16* pllua_16* plpgsql_check_16* plprofiler_16* plsh_16* pointcloud_16* postgres-decoderbufs_16* postgresql_anonymizer_16* postgresql_faker_16* powa-archivist_16* powa_16* prefix_16* rum_16 safeupdate_16* semver_16* set_user_16* sqlite_fdw_16* system_stats_16* table_version_16* tdigest_16* tds_fdw_16* temporal_tables_16* timescaledb_16* timestamp9_16* topn_16* +``` + +- 尚未在 PGDG el8 pg16 仓库中准备就绪,因此未收录的扩展插件: `mysqlcompat_16 multicorn2_16* plproxy_16* geoip_16* postgresql-unit_16*` +- 收录于 PGDG el8 pg16 仓库中,但因为依赖过重而略过的扩展集: `plr_16* repmgr_16* pgexporter_ext_16* dbt2-pg16-extensions* pgpool-II-pg16-extensions` +- 收录在 PGDG el8 pg16-non-free 仓库中,需要额外依赖的扩展: `oracle_fdw_16* db2_fdw_16* pg_strom_16*` +- 因为与 hydra_16 扩展名冲突,需要从分支中二选一,而略过的扩展: `citus_16*` + +
+ + +
安装所有 EL9 扩展插件 + +```bash +yum install postgis34_16* timescaledb-2-postgresql-16* pgvector_16* pglogical_16* pg_cron_16* vault_16* pgjwt_16* pg_roaringbitmap_16* zhparser_16* hydra_16* apache-age_16* duckdb_fdw_16* pg_tde_16* md5hash_16* pg_dirtyread_16* plv8_16* parquet_s3_fdw_16* pgml_16 pg_graphql_16 wrappers_16 pg_jsonschema_16 pg_search_16 pg_lakehouse_16 pg_analytics_16 pgmq_16 pg_tier_16 pg_later_16 pg_vectorize_16 pg_tiktoken_16 pgdd_16 plprql_16 pgsmcrypto_16 pg_idkit_16 scws libduckdb libarrow-s3 pgFormatter luapgsql pgcopydb bgw_replstatus_16* count_distinct_16* credcheck_16* ddlx_16* e-maj_16* extra_window_functions_16* h3-pg_16* hdfs_fdw_16* hll_16* hypopg_16* ip4r_16* jsquery_16* logerrors_16* login_hook_16* mongo_fdw_16* mysql_fdw_16* ogr_fdw_16* orafce_16* passwordcheck_cracklib_16* periods_16* pg_auth_mon_16* pg_auto_failover_16* pg_background_16* pg_bigm_16* pg_bulkload_16* pg_catcheck_16* pg_checksums_16* pg_comparator_16* pg_dbms_job_16* pg_dbms_lock_16* pg_dbms_metadata_16* pg_extra_time_16* pg_fact_loader_16* pg_failover_slots_16* pg_filedump_16* pg_fkpart_16* pg_hint_plan_16* pg_ivm_16* pg_jobmon_16* pg_net_16* pg_partman_16* pg_permissions_16* pg_prioritize_16* pg_profile_16* pg_qualstats_16* pg_readonly_16* pg_show_plans_16* pg_squeeze_16* pg_stat_kcache_16* pg_stat_monitor_16* pg_statement_rollback_16* pg_statviz_extension_16 pg_store_plans_16* pg_tle_16* pg_top_16* pg_track_settings_16* pg_uuidv7_16* pg_wait_sampling_16* pgagent_16* pgaudit_16* pgauditlogtofile_16* pgbouncer_fdw_16* pgcryptokey_16* pgexportdoc_16* pgfincore_16* pgimportdoc_16* pgl_ddl_deploy_16* pgmemcache_16* pgmeminfo_16* pgmp_16* pgq_16* pgrouting_16* pgsodium_16* pgsql_gzip_16* pgsql_http_16* pgsql_tweaks_16* pgtap_16* pgtt_16* pguint_16* pldebugger_16* pllua_16* plpgsql_check_16* plprofiler_16* plsh_16* pointcloud_16* postgres-decoderbufs_16* postgresql_anonymizer_16* postgresql_faker_16* powa-archivist_16* powa_16* prefix_16* rum_16 safeupdate_16* semver_16* set_user_16* sqlite_fdw_16* system_stats_16* tdigest_16* tds_fdw_16* temporal_tables_16* timescaledb_16* timestamp9_16* topn_16* firebird_fdw_16* sequential_uuids_16* +``` + +- 尚未在 PGDG el9 pg16 仓库中准备就绪,因此未收录的扩展插件: `mysqlcompat_16 multicorn2_16* plproxy_16* geoip_16* postgresql-unit_16* table_version_16* pgxnclient` +- 收录于 PGDG el9 pg16 仓库中,但因为依赖过重而略过的扩展集: `plr_16* repmgr_16* pgexporter_ext_16* dbt2-pg16-extensions* pgpool-II-pg16-extensions pljava_16` +- 收录在 PGDG el9 pg16-non-free 仓库中,需要额外依赖的扩展: `oracle_fdw_16* db2_fdw_16* pg_strom_16*` +- 因为与 hydra_16 扩展名冲突,需要从分支中二选一,而略过的扩展: `citus_16*` +- EL9 相对于EL8独有的软件包:`sequential_uuids_16* pljava*,firebird_fdw` + - 增加:`pljava_16` 1.6.6 PL/Java procedural language (https://tada.github.io/pljava/) + - 增加:`firebird_fdw_16` 1.3.0 foreign data wrapper for Firebird + - 增加:`sequential_uuids` 1.0.2 generator of sequential UUIDs + - 减少:`pgxnclient` 不可用 + - 减少:`table_version_16*` 不可用 + +
+ + +----------------- + +### DEB扩展 + +Pigsty 在 [EL系操作系统](/zh/docs/reference/compatibility#el系发行版支持) 上共有 **189** 个可用扩展,其中包括 **73** 个 PostgreSQL [自带扩展](#自带扩展) 和 **116** 个额外的 DEB 扩展,其中由 Pigsty 维护的占 **10** 个。 + +> DEB 扩展统计以 Debian 12 与 Ubuntu 22.04 为准,两者仅有个别扩展差异,见备注。 + +| 扩展 | 版本 | 包名 | 仓库 | 包名 | 说明 | 备注 | +|:-----------------------------|:--------|:-------|:----------------|:----------------------------|:------------------------------------------|:--------------------| +| ddlx | 0.27 | ADMIN | pgdg16 | ddlx_16 | DDL 提取器 | | +| **pg_cron** | 1.6 | ADMIN | pgdg16 | pg_cron_16 | 定时任务调度器 | | +| pg_dirtyread | 2 | ADMIN | pigsty-pgsql | pg_dirtyread_16 | 从表中读取尚未垃圾回收的行 | | +| pg_readonly | 1.0.0 | ADMIN | pgdg16 | pg_readonly_16 | 将集群设置为只读 | | +| **pg_repack** | 1.5.0 | ADMIN | pgdg16 | pg_repack_16 | 在线垃圾清理与表膨胀治理 | | +| pg_squeeze | 1.6 | ADMIN | pgdg16 | pg_squeeze_16 | 从关系中删除未使用空间 | | +| pgagent | 4.2 | ADMIN | pgdg16 | pgagent_16 | PostgreSQL任务调度工具,与PGADMIN配合使用 | | +| pgautofailover | 2.1 | ADMIN | pgdg16 | pg_auto_failover_16 | PG 自动故障迁移 | | +| pgdd | 0.5.2 | ADMIN | pigsty-pgsql | pgdd_16 | 提供通过标准SQL查询数据库目录集簇的能力 | | +| pgfincore | 1.3.1 | ADMIN | pgdg16 | pgfincore_16 | 检查和管理操作系统缓冲区缓存 | | +| pgl_ddl_deploy | 2.2 | ADMIN | pgdg16 | pgl_ddl_deploy_16 | 使用 pglogical 执行自动 DDL 部署 | | +| pgpool_adm | 1.5 | ADMIN | pgdg16 | pgpool-II-pg16-extensions | PGPool 管理函数 | | +| pgpool_recovery | 1.4 | ADMIN | pgdg16 | pgpool-II-pg16-extensions | PGPool辅助扩展,从v4.3提供的恢复函数 | | +| pgpool_regclass | 1.0 | ADMIN | pgdg16 | pgpool-II-pg16-extensions | PGPool辅助扩展,RegClass替代 | | +| prioritize | 1.0 | ADMIN | pgdg16 | prioritize_16 | 获取和设置 PostgreSQL 后端的优先级 | | +| safeupdate | 1.4 | ADMIN | pgdg16 | safeupdate_16 | 强制在 UPDATE 和 DELETE 时提供 Where 条件 | | +| pg_tiktoken | 0.0.1 | AI | pigsty-pgsql | pg_tiktoken_16 | 在PostgreSQL中计算OpenAI使用的Token数 | | +| **pgml** | 2.8.1 | AI | pigsty-pgsql | pgml_16 | PostgresML:用SQL运行机器学习算法并训练模型 | | +| svector | 0.6.1 | AI | pigsty-pgsql | pg_sparse_16 | ParadeDB 稀疏向量数据库类型与HNSW索引 | obsolete | +| **vector** | 0.7.0 | AI | pgdg16 | pgvector_16 | 向量数据类型和 ivfflat / hnsw 访问方法 | | +| vectorize | 0.15.0 | AI | pigsty-pgsql | pg_vectorize_16 | 在PostgreSQL中封装RAG向量检索服务 | deps: pgmq, pg_cron | +| decoderbufs | 0.1.0 | ETL | pgdg16 | postgres-decoderbufs_16 | 将WAL逻辑解码为ProtocolBuffer协议的消息 | | +| pg_bulkload | 3.1.21 | ETL | pgdg16 | pg_bulkload_16 | 向 PostgreSQL 中高速加载数据 | | +| pg_fact_loader | 2.0 | ETL | pgdg16 | pg_fact_loader_16 | 在 Postgres 中构建事实表 | | +| **wal2json** | 2.5.3 | ETL | pgdg16 | wal2json_16 | 用逻辑解码捕获 JSON 格式的 CDC 变更 | | +| db2_fdw | 6.0.1 | FDW | pgdg16-non-free | db2_fdw_16 | 提供对DB2的外部数据源包装器 | extra db2 deps | +| hdfs_fdw | 2.0.5 | FDW | pgdg16 | hdfs_fdw_16 | hdfs 外部数据包装器 | | +| mongo_fdw | 1.1 | FDW | pgdg16 | mongo_fdw_16 | MongoDB 外部数据包装器 | | +| mysql_fdw | 1.2 | FDW | pgdg16 | mysql_fdw_16 | MySQL外部数据包装器 | | +| ogr_fdw | 1.1 | FDW | pgdg16 | ogr_fdw_16 | GIS 数据外部数据源包装器 | | +| oracle_fdw | 1.2 | FDW | pgdg16-non-free | oracle_fdw_16 | 提供对Oracle的外部数据源包装器 | extra oracle deps | +| pgbouncer_fdw | 1.1.0 | FDW | pgdg16 | pgbouncer_fdw_16 | 用 SQL 查询 pgbouncer 统计信息,执行 pgbouncer 命令。 | | +| sqlite_fdw | 1.1 | FDW | pgdg16 | sqlite_fdw_16 | SQLite 外部数据包装器 | | +| tds_fdw | 2.0.3 | FDW | pgdg16 | tds_fdw_16 | TDS 数据库(Sybase/SQL Server)外部数据包装器 | | +| **wrappers** | 0.3.1 | FDW | pigsty-pgsql | wrappers_16 | Supabase提供的外部数据源包装器捆绑包 | | +| **age** | 1.5.0 | FEAT | pigsty-pgsql | age_16 | Apache AGE,图数据库扩展 (Deb可用) | | +| emaj | 4.4.0 | FEAT | pgdg16 | e-maj_16 | 让数据库的子集具有细粒度日志和时间旅行功能 | | +| hll | 2.18 | FEAT | pgdg16 | hll_16 | hyperloglog 数据类型 | | +| hypopg | 1.4.1 | FEAT | pgdg16 | hypopg_16 | 假设索引,用于创建一个虚拟索引检验执行计划 | | +| jsquery | 1.1 | FEAT | pgdg16 | jsquery_16 | 用于内省 JSONB 数据类型的查询类型 | | +| periods | 1.2 | FEAT | pgdg16 | periods_16 | 为 PERIODs 和 SYSTEM VERSIONING 提供标准 SQL 功能 | | +| **pg_graphql** | 1.5.4 | FEAT | pigsty-pgsql | pg_graphql_16 | PG内的 GraphQL 支持 (RUST, supabase) | | +| pg_hint_plan | 1.6.0 | FEAT | pgdg16 | pg_hint_plan_16 | 添加强制指定执行计划的能力 | | +| pg_ivm | 1.8 | FEAT | pgdg16 | pg_ivm_16 | 增量维护的物化视图 | | +| **pg_jsonschema** | 0.3.1 | FEAT | pigsty-pgsql | pg_jsonschema_16 | 提供JSON Schema校验能力 | | +| **pg_strom** | 5.1 | FEAT | pgdg16-non-free | pg_strom_16 | 使用GPU与NVMe加速大数据处理 | extra cuda deps | +| **pgmq** | 1.1.1 | FEAT | pigsty-pgsql | pgmq_16 | 基于Postgres实现类似AWS SQS/RSMQ的消息队列 | | +| **pgq** | 3.5.1 | FEAT | pgdg16 | pgq_16 | 通用队列的PG实现 | | +| pgtt | 3.1.0 | FEAT | pgdg16 | pgtt_16 | 全局临时表功能 | | +| rum | 1.3 | FEAT | pgdg16 | rum_16 | RUM 索引访问方法 | | +| table_version | 1.10.3 | FEAT | pgdg16 | table_version_16 | PostgreSQL 版本控制表扩展 | | +| temporal_tables | 1.2.2 | FEAT | pgdg16 | temporal_tables_16 | 时态表功能支持 | | +| count_distinct | 3.0.1 | FUNC | pgdg16 | count_distinct_16 | COUNT(DISTINCT ...) 聚合的替代方案 | | +| extra_window_functions | 1.0 | FUNC | pgdg16 | extra_window_functions_16 | 额外的窗口函数 | | +| gzip | 1.0 | FUNC | pgdg16 | pgsql_gzip_16 | 使用SQL执行Gzip压缩与解压缩 | new in pgdg | +| http | 1.6 | FUNC | pgdg16 | pgsql_http_16 | HTTP客户端,允许在数据库内收发HTTP请求 (supabase) | new in pgdg | +| pg_background | 1.0 | FUNC | pgdg16 | pg_background_16 | 在后台运行 SQL 查询 | | +| pg_idkit | 0.2.3 | FUNC | pigsty-pgsql | pg_idkit_16 | 生成各式各样的唯一标识符:UUIDv6, ULID, KSUID | | +| pg_later | 0.1.0 | FUNC | pigsty-pgsql | pg_later_16 | 执行查询,并在稍后异步获取查询结果 | dep: pgmq | +| **pg_net** | 0.9.1 | FUNC | pgdg16 | pg_net_16 | 用 SQL 进行异步非阻塞HTTP/HTTPS 请求的扩展 (supabase) | | +| pgjwt | 0.2.0 | FUNC | pigsty-pgsql | pgjwt_16 | JSON Web Token API 的PG实现 (supabase) | | +| pgsql_tweaks | 0.10.2 | FUNC | pgdg16 | pgsql_tweaks_16 | 一些便利函数与视图 | | +| tdigest | 1.4.1 | FUNC | pgdg16 | tdigest_16 | tdigest 聚合函数 | | +| topn | 2.6.0 | FUNC | pgdg16 | topn_16 | top-n JSONB 的类型 | | +| address_standardizer | 3.4.2 | GIS | pgdg16 | postgis34_16 | 地址标准化函数。 | | +| address_standardizer_data_us | 3.4.2 | GIS | pgdg16 | postgis34_16 | 地址标准化函数:美国数据集示例 | | +| h3 | 4.1.3 | GIS | pgdg16 | h3-pg_16 | H3六边形层级索引支持 | | +| h3_postgis | 4.1.3 | GIS | pgdg16 | h3-pg_16 | 将 H3 与 PostGIS相集成 | | +| pgrouting | 3.6.0 | GIS | pgdg16 | pgrouting_16 | 提供寻路能力 | | +| pointcloud | 1.2.5 | GIS | pigsty-pgsql | pointcloud_16 | 提供激光雷达点云数据类型支持 | | +| pointcloud_postgis | 1.2.5 | GIS | pgdg16 | pointcloud_16 | 将激光雷达点云与PostGIS几何类型相集成 | | +| **postgis** | 3.4.2 | GIS | pgdg16 | postgis34_16 | PostGIS 几何和地理空间扩展 | | +| postgis_raster | 3.4.2 | GIS | pgdg16 | postgis34_16 | PostGIS 光栅类型和函数 | | +| postgis_sfcgal | 3.4.2 | GIS | pgdg16 | postgis34_16 | PostGIS SFCGAL 函数 | | +| postgis_tiger_geocoder | 3.4.2 | GIS | pgdg16 | postgis34_16 | PostGIS tiger 地理编码器和反向地理编码器 | | +| postgis_topology | 3.4.2 | GIS | pgdg16 | postgis34_16 | PostGIS 拓扑空间类型和函数 | | +| pg_tle | 1.4.0 | LANG | pigsty-pgsql | pg_tle_16 | AWS 可信语言扩展 | | +| pldbgapi | 1.1 | LANG | pgdg16 | pldebugger_16 | 用于调试 PL/pgSQL 函数的服务器端支持 | | +| pllua | 2.0 | LANG | pgdg16 | pllua_16 | Lua 程序语言 | | +| plluau | 2.0 | LANG | pgdg16 | pllua_16 | Lua 程序语言(不受信任的) | | +| plpgsql_check | 2.7 | LANG | pgdg16 | plpgsql_check_16 | 对 plpgsql 函数进行扩展检查 | | +| plprql | 0.1.0 | LANG | pigsty-pgsql | plprql_16 | 在PostgreSQL使用PRQL——管线式关系查询语言 | | +| plr | 8.4.6 | LANG | pgdg16 | plr_16 | 从数据库中加载R语言解释器并执行R脚本 | | +| plsh | 2 | LANG | pgdg16 | plsh_16 | PL/sh 程序语言 | | +| **plv8** | 3.2.2 | LANG | pigsty-pgsql | plv8_16 | PL/JavaScript (v8) 可信过程程序语言 | | +| citus_columnar | 11.3-1 | OLAP | pgdg16 | citus_16 | Citus 列式存储 | citus | +| **columnar** | 11.1-11 | OLAP | pigsty-pgsql | hydra_16 | 开源列式存储扩展 | hydra 1.1.2 | +| **duckdb_fdw** | 1.1 | OLAP | pigsty-pgsql | duckdb_fdw_16 | DuckDB 外部数据源包装器 (libduck 0.10.2) | libduckdb 0.10.2 | +| **parquet_s3_fdw** | 0.3 | OLAP | pigsty-pgsql | parquet_s3_fdw_16 | 针对S3/MinIO上的Parquet文件的外部数据源包装器 | deps: libarrow-s3 | +| **pg_analytics** | 0.6.1 | OLAP | pigsty-pgsql | pg_analytics_16 | ParadeDB 列存x向量执行分析加速插件 | | +| **pg_lakehouse** | 0.7.0 | OLAP | pigsty-pgsql | pg_lakehouse_16 | ParadeDB 湖仓分析引擎 | rust | +| pg_tier | 0.0.3 | OLAP | pigsty-pgsql | pg_tier_16 | 将冷数据分级存储至S3 | 依赖parquet_s3_fdw | +| **timescaledb** | 2.15.0 | OLAP | timescaledb | timescaledb-2-postgresql-16 | 时序数据库扩展插件 | | +| **pglogical** | 2.4.4 | REPL | pgdg16 | pglogical_16 | 第三方逻辑复制支持 | | +| pglogical_origin | 1.0.0 | REPL | pgdg16 | pglogical_16 | 用于从 Postgres 9.4 升级时的兼容性虚拟扩展 | | +| repmgr | 5.4 | REPL | pgdg16 | repmgr_16 | PostgreSQL复制管理组件 | | +| pg_bigm | 1.2 | SEARCH | pgdg16 | pg_bigm_16 | 基于二字组的多语言全文检索扩展 | | +| **pg_search** | 0.7.0 | SEARCH | pigsty-pgsql | pg_search_16 | ParadeDB BM25算法全文检索插件,ES全文检索 | old name: pg_bm25 | +| **zhparser** | 2.2 | SEARCH | pigsty-pgsql | zhparser_16 | 中文分词,全文搜索解析器 | deps: scws | +| anon | 1.3.2 | SEC | pgdg16 | postgresql_anonymizer_16 | 数据匿名化处理工具 | | +| credcheck | 2.7.0 | SEC | pgdg16 | credcheck_16 | 明文凭证检查器 | | +| logerrors | 2.1 | SEC | pgdg16 | logerrors_16 | 用于收集日志文件中消息统计信息的函数 | | +| login_hook | 1.5 | SEC | pgdg16 | login_hook_16 | 在用户登陆时执行login_hook.login()函数 | | +| passwordcracklib | 3.0.0 | SEC | pgdg16 | passwordcracklib_16 | 使用cracklib加固PG用户密码 | | +| pg_auth_mon | 1.1 | SEC | pgdg16 | pg_auth_mon_16 | 监控每个用户的连接尝试 | | +| pg_jobmon | 1.4.1 | SEC | pgdg16 | pg_jobmon_16 | 记录和监控函数 | | +| **pg_tde** | 1.0 | SEC | pigsty-pgsql | pg_tde_16 | 试点性质的加密存储引擎 | alpha | +| pgaudit | 16.0 | SEC | pgdg16 | pgaudit_16 | 提供审计功能 | | +| pgauditlogtofile | 1.5 | SEC | pgdg16 | pgauditlogtofile_16 | pgAudit 子扩展,将审计日志写入单独的文件中 | | +| pgcryptokey | 1.0 | SEC | pgdg16 | pgcryptokey_16 | PG密钥管理 | | +| **pgsmcrypto** | 0.1.0 | SEC | pigsty-pgsql | pgsmcrypto_16 | 为PostgreSQL提供商密算法支持:SM2,SM3,SM4 | | +| pgsodium | 3.1.9 | SEC | pgdg16 | pgsodium_16 | 表数据加密存储 TDE | | +| set_user | 4.0.1 | SEC | pgdg16 | set_user_16 | 增加了日志记录的 SET ROLE | | +| supabase_vault | 0.2.8 | SEC | pigsty-pgsql | vault_16 | 在 Vault 中存储加密凭证的扩展 (supabase) | | +| **citus** | 12.1-1 | SHARD | pgdg16 | citus_16 | Citus 分布式数据库 | | +| pg_fkpart | 1.7 | SHARD | pgdg16 | pg_fkpart_16 | 按外键实用程序进行表分区的扩展 | | +| pg_partman | 5.1.0 | SHARD | pgdg16 | pg_partman_16 | 用于按时间或 ID 管理分区表的扩展 | | +| orafce | 4.10 | SIM | pgdg16 | orafce_16 | 模拟 Oracle RDBMS 的一部分函数和包的函数和运算符 | | +| pg_dbms_job | 1.5.0 | SIM | pgdg16 | pg_dbms_job_16 | 添加 Oracle DBMS_JOB 兼容性支持的扩展 | | +| pg_dbms_lock | 1.0.0 | SIM | pgdg16 | pg_dbms_lock_16 | 为PG添加对 Oracle DBMS_LOCK 的完整兼容性支持 | | +| pg_dbms_metadata | 1.0.0 | SIM | pgdg16 | pg_dbms_metadata_16 | 添加 Oracle DBMS_METADATA 兼容性支持的扩展 | | +| pg_extra_time | 1.1.2 | SIM | pgdg16 | pg_extra_time_16 | 一些关于日期与时间的扩展函数 | | +| pgmemcache | 2.3.0 | SIM | pgdg16 | pgmemcache_16 | 为 PG 提供 memcached 借口 | | +| pg_permissions | 1.1 | STAT | pgdg16 | pg_permissions_16 | 查看对象权限并将其与期望状态进行比较 | | +| pg_profile | 4.6 | STAT | pgdg16 | pg_profile_16 | PostgreSQL 数据库负载记录与AWR报表工具 | | +| pg_qualstats | 2.1.0 | STAT | pgdg16 | pg_qualstats_16 | 收集有关 quals 的统计信息的扩展 | | +| pg_show_plans | 2.1 | STAT | pgdg16 | pg_show_plans_16 | 打印所有当前正在运行查询的执行计划 | | +| pg_stat_kcache | 2.2.3 | STAT | pgdg16 | pg_stat_kcache_16 | 内核统计信息收集 | | +| pg_stat_monitor | 2.0 | STAT | pgdg16 | pg_stat_monitor_16 | 提供查询聚合统计、客户端信息、执行计划详细信息和直方图 | | +| pg_statviz | 0.6 | STAT | pgdg16 | pg_statviz_extension_16 | 可视化统计指标并分析时间序列 | | +| pg_store_plans | 1.8 | STAT | pgdg16 | pg_store_plans_16 | 跟踪所有执行的 SQL 语句的计划统计信息 | | +| pg_track_settings | 2.1.2 | STAT | pgdg16 | pg_track_settings_16 | 跟踪设置更改 | | +| pg_wait_sampling | 1.1 | STAT | pgdg16 | pg_wait_sampling_16 | 基于采样的等待事件统计 | | +| pgexporter_ext | 0.2.3 | STAT | pgdg16 | pgexporter_ext_16 | PGExporter的额外指标支持 | | +| pgmeminfo | 1.0 | STAT | pgdg16 | pgmeminfo_16 | 显示内存使用情况 | | +| plprofiler | 4.2 | STAT | pgdg16 | plprofiler_16 | 剖析 PL/pgSQL 函数 | | +| powa | 4.2.2 | STAT | pgdg16 | powa_16 | PostgreSQL 工作负载分析器-核心 | | +| system_stats | 2.0 | STAT | pgdg16 | system_stats_16 | PostgreSQL 的系统统计函数 | | +| dbt2 | 0.45.0 | TEST | pgdg16 | dbt2-pg16-extensions | OSDL-DBT-2 测试组件 | | +| faker | 0.5.3 | TEST | pgdg16 | postgresql_faker_16 | 插入生成的测试伪造数据,Python库的包装 | postgresql_faker | +| pgtap | 1.3.3 | TEST | pgdg16 | pgtap_16 | PostgreSQL单元测试框架 | | +| ip4r | 2.4 | TYPE | pgdg16 | ip4r_16 | PostgreSQL 的 IPv4/v6 和 IPv4/v6 范围索引类型 | | +| md5hash | 1.0.1 | TYPE | pigsty-pgsql | md5hash_16 | 提供128位MD5的原生数据类型 | | +| pg_uuidv7 | 1.5 | TYPE | pgdg16 | pg_uuidv7_16 | UUIDv7 支持 | | +| pgmp | 1.1 | TYPE | pgdg16 | pgmp_16 | 多精度算术扩展 | | +| prefix | 1.2.0 | TYPE | pgdg16 | prefix_16 | 前缀树数据类型 | | +| roaringbitmap | 0.5 | TYPE | pigsty-pgsql | pg_roaringbitmap_16 | 支持RoaringBitmap数据类型 | | +| semver | 0.32.1 | TYPE | pgdg16 | semver_16 | 语义版本号数据类型 | | +| timestamp9 | 1.4.0 | TYPE | pgdg16 | timestamp9_16 | 纳秒分辨率时间戳 | | +| uint | 0 | TYPE | pgdg16 | uint_16 | 无符号整型数据类型 | | +| unit | 7 | TYPE | pgdg16 | postgresql-unit_16 | SI 国标单位扩展 | | +| imgsmlr ❋ | 1.0.0 | AI | pigsty-pgsql | imgsmlr_16 | 使用Haar小波分析计算图片相似度 | | +| pg_similarity ❋ | 1.0.0 | AI | pigsty-pgsql | pg_similarity_16 | 提供17种距离度量函数 | | +| multicorn ❋ | 2.4 | FDW | pgdg16 | multicorn2_16 | 用Python编写自定义的外部数据源包装器 | | +| geoip ❋ | 0.2.4 | GIS | pgdg16 | geoip_16 | IP 地理位置扩展(围绕 MaxMind GeoLite 数据集的包装器) | | +| plproxy ❋ | 2.10.0 | SHARD | pgdg16 | plproxy_16 | 作为过程语言实现的数据库分区 | | +| mysqlcompat ❋ | 0.0.7 | SIM | pgdg16 | mysqlcompat_16 | 尽可能在PG中实现MySQL的提供的函数 | | + + + +----------------- + +### 自带扩展 + +PostgreSQL 自带了 **73** 个扩展插件,在所有操作系统发行版上均可用。 + +| 扩展 | 版本 | 类目 | 说明 | +|:--------------------|:-----|:-------|:--------------------------------| +| adminpack | 2.1 | ADMIN | PostgreSQL 管理函数集合 | +| amcheck | 1.3 | ADMIN | 校验关系完整性 | +| auth_delay | | SEC | 在返回认证失败前暂停一会,避免爆破 | +| auto_explain | | STAT | 提供一种自动记录执行计划的手段 | +| autoinc | 1.0 | FUNC | 用于自动递增字段的函数 | +| basebackup_to_shell | | ADMIN | 添加一种备份到Shell终端到基础备份方式 | +| basic_archive | | ADMIN | 归档模块样例 | +| bloom | 1.0 | FEAT | bloom 索引-基于指纹的索引 | +| bool_plperl | 1.0 | LANG | 在 bool 和 plperl 之间转换 | +| bool_plperlu | 1.0 | LANG | 在 bool 和 plperlu 之间转换 | +| btree_gin | 1.3 | FUNC | 用GIN索引常见数据类型 | +| btree_gist | 1.7 | FUNC | 用GiST索引常见数据类型 | +| citext | 1.6 | TYPE | 提供大小写不敏感的字符串类型 | +| cube | 1.5 | TYPE | 用于存储多维立方体的数据类型 | +| dblink | 1.2 | FDW | 从数据库内连接到其他 PostgreSQL 数据库 | +| dict_int | 1.0 | FUNC | 用于整数的文本搜索字典模板 | +| dict_xsyn | 1.0 | FUNC | 用于扩展同义词处理的文本搜索字典模板 | +| earthdistance | 1.1 | GIS | 计算地球表面上的大圆距离 | +| file_fdw | 1.0 | FDW | 访问外部文件的外部数据包装器 | +| fuzzystrmatch | 1.2 | SEARCH | 确定字符串之间的相似性和距离 | +| hstore | 1.8 | TYPE | 用于存储(键,值)对集合的数据类型 | +| hstore_plperl | 1.0 | LANG | 在 hstore 和 plperl 之间转换适配类型 | +| hstore_plperlu | 1.0 | LANG | 在 hstore 和 plperlu 之间转换适配类型 | +| hstore_plpython | | LANG | 在 hstore 和 plpython 之间转换适配类型 | +| hstore_plpython3u | 1.0 | LANG | 在 hstore 和 plpython3u 之间转换 | +| insert_username | 1.0 | FUNC | 用于跟踪谁更改了表的函数 | +| intagg | 1.1 | FUNC | 整数聚合器和枚举器(过时) | +| intarray | 1.5 | FUNC | 1维整数数组的额外函数、运算符和索引支持 | +| isn | 1.2 | TYPE | 用于国际产品编号标准的数据类型 | +| jsonb_plperl | 1.0 | LANG | 在 jsonb 和 plperl 之间转换 | +| jsonb_plperlu | 1.0 | LANG | 在 jsonb 和 plperlu 之间转换 | +| jsonb_plpython | | LANG | 在 jsonb 和 plpython 之间转换适配类型 | +| jsonb_plpython3u | 1.0 | LANG | 在 jsonb 和 plpython3u 之间转换 | +| lo | 1.1 | ADMIN | 大对象维护 | +| ltree | 1.2 | TYPE | 用于表示分层树状结构的数据类型 | +| ltree_plpython | | LANG | 在 ltree 和 plpython 之间转换适配类型 | +| ltree_plpython3u | 1.0 | LANG | 在 ltree 和 plpython3u 之间转换 | +| moddatetime | 1.0 | FUNC | 跟踪最后修改时间 | +| oid2name | | ADMIN | 用于检查PG文件结构的实用命令行工具 | +| old_snapshot | 1.0 | ADMIN | 支持 old_snapshot_threshold 的实用程序 | +| pageinspect | 1.12 | STAT | 检查数据库页面二进制内容 | +| passwordcheck | | SEC | 用于强制拒绝修改弱密码的扩展 | +| pg_buffercache | 1.4 | STAT | 检查共享缓冲区缓存 | +| pg_freespacemap | 1.2 | STAT | 检查自由空间映射的内容(FSM) | +| pg_prewarm | 1.2 | ADMIN | 预热关系数据 | +| pg_stat_statements | 1.10 | STAT | 跟踪所有执行的 SQL 语句的计划和执行统计信息 | +| pg_surgery | 1.0 | ADMIN | 对损坏的关系进行手术 | +| pg_trgm | 1.6 | SEARCH | 文本相似度测量函数与模糊检索 | +| pg_visibility | 1.2 | STAT | 检查可见性图(VM)和页面级可见性信息 | +| pg_walinspect | 1.1 | STAT | 用于检查 PostgreSQL WAL 日志内容的函数 | +| pgcrypto | 1.3 | SEC | 实用加解密函数 | +| pgrowlocks | 1.2 | STAT | 显示行级锁信息 | +| pgstattuple | 1.5 | STAT | 显示元组级统计信息 | +| plperl | 1.0 | LANG | PL/Perl 存储过程语言 | +| plperlu | 1.0 | LANG | PL/PerlU 存储过程语言(未受信/高权限) | +| plpgsql | 1.0 | LANG | PL/pgSQL 程序设计语言 | +| plpython3u | 1.0 | LANG | PL/Python3 存储过程语言(未受信/高权限) | +| pltcl | 1.0 | LANG | PL/TCL 存储过程语言 | +| pltclu | 1.0 | LANG | PL/TCL 存储过程语言(未受信/高权限) | +| postgres_fdw | 1.1 | FDW | 用于远程 PostgreSQL 服务器的外部数据包装器 | +| refint | 1.0 | FUNC | 实现引用完整性的函数 | +| seg | 1.4 | TYPE | 表示线段或浮点间隔的数据类型 | +| sepgsql | | SEC | 基于SELinux标签的强制访问控制 | +| sslinfo | 1.2 | STAT | 关于 SSL 证书的信息 | +| tablefunc | 1.0 | OLAP | 交叉表函数 | +| tcn | 1.0 | FUNC | 用触发器通知变更 | +| test_decoding | | REPL | 基于SQL的WAL逻辑解码样例 | +| tsm_system_rows | 1.0 | FUNC | 接受行数限制的 TABLESAMPLE 方法 | +| tsm_system_time | 1.0 | FUNC | 接受毫秒数限制的 TABLESAMPLE 方法 | +| unaccent | 1.1 | FUNC | 删除重音的文本搜索字典 | +| uuid-ossp | 1.1 | FUNC | 生成通用唯一标识符(UUIDs) | +| vacuumlo | | ADMIN | 从PostgreSQL中移除孤儿数据库文件的实用命令行工具 | +| xml2 | 1.1 | TYPE | XPath 查询和 XSLT | + + +----------------- + +### Pigsty扩展 + +Pigsty 维护了 **34** 个 RPM 扩展插件,以及 **10** 个 DEB 扩展插件,详情参考:[Pigsty RPMs](https://github.com/Vonng/pigsty-rpm)。 + +| 扩展 | 版本 | 说明 | +|----------------------------------------------------------------------------|:---------:|------------------------------------------| +| [pgml](https://github.com/postgresml/postgresml) | 2.8.1 | 使用 SQL 进行机器学习训练与推理 | +| [age](https://github.com/apache/age) | 1.5.0 | Apache AGE 图数据库扩展,提供 OpenCypher 查询语言 | +| [pointcloud](https://github.com/pgpointcloud/pointcloud) | 1.2.5 | 用于存储(激光雷达)点云数据的扩展插件 | +| [pg_bigm](https://github.com/pgbigm/pg_bigm) | 1.2.0 | 基于二字组的多语言全文检索扩展 | +| [pg_tle](https://github.com/aws/pg_tle) | 1.4.0 | AWS 可信语言扩展 | +| [roaringbitmap](https://github.com/ChenHuajun/pg_roaringbitmap) | 0.5 | 支持RoaringBitmap数据类型 | +| [zhparser](https://github.com/amutu/zhparser) | 2.2 | 中文分词,全文搜索解析器 | +| [pgjwt](https://github.com/michelp/pgjwt) | 0.2.0 | JSON Web Token API 的PG实现 (supabase) | +| [pg_graphql](https://github.com/supabase/pg_graphql) | 1.5.4 | PG内的 GraphQL 支持 (RUST, supabase) | +| [pg_jsonschema](https://github.com/supabase/pg_jsonschema) | 0.3.1 | 提供JSON Schema校验能力 | +| [vault](https://github.com/supabase/vault) | 0.2.9 | 在 Vault 中存储加密凭证的扩展 (supabase) | +| [hydra](https://github.com/hydradatabase/hydra) | 1.1.2 | 开源列式存储扩展 | +| [wrappers](https://github.com/supabase/wrappers) | 0.3.1 | Supabase提供的外部数据源包装器捆绑包 | +| [duckdb_fdw](https://github.com/alitrack/duckdb_fdw) | 1.1 | DuckDB 外部数据源包装器 (libduck 0.10.2) | +| [pg_search](https://github.com/paradedb/paradedb/tree/dev/pg_search) | 0.7.0 | ParadeDB BM25算法全文检索插件,ES全文检索 | +| [pg_lakehouse](https://github.com/paradedb/paradedb/tree/dev/pg_lakehouse) | 0.7.0 | ParadeDB 湖仓分析引擎 | +| [pg_analytics](https://github.com/paradedb/pg_analytics) | 0.6.1 | 加速 PostgreSQL 内部的分析查询处理 | +| [pgmq](https://github.com/tembo-io/pgmq) | 1.5.2 | 轻量级消息队列,类似于 AWS SQS 和 RSMQ. | +| [pg_tier](https://github.com/tembo-io/pg_tier) | 0.0.3 | 支将将冷数据分级存储到 AWS S3 | +| [pg_vectorize](https://github.com/tembo-io/pg_vectorize) | 0.15.0 | 在 PG 中实现 RAG 向量检索的封装 | +| [pg_later](https://github.com/tembo-io/pg_later) | 0.1.0 | 现在执行 SQL,并在稍后获取结果 | +| [pg_idkit](https://github.com/VADOSWARE/pg_idkit) | 0.2.3 | 生成各式各样的唯一标识符:UUIDv6, ULID, KSUID | +| [plprql](https://github.com/kaspermarstal/plprql) | 0.1.0 | 在PostgreSQL使用PRQL——管线式关系查询语言 | +| [pgsmcrypto](https://github.com/zhuobie/pgsmcrypto) | 0.1.0 | 为PostgreSQL提供商密算法支持:SM2,SM3,SM4 | +| [pg_tiktoken](https://github.com/kelvich/pg_tiktoken) | 0.0.1 | 计算 OpenAI 使用的 Token 数量 | +| [pgdd](https://github.com/rustprooflabs/pgdd) | 0.5.2 | 提供通过标准SQL查询数据库目录集簇的能力 | +| [parquet_s3_fdw](https://github.com/pgspider/parquet_s3_fdw) | 1.1.0 | 针对S3/MinIO上的Parquet文件的外部数据源包装器 | +| [plv8](https://github.com/plv8/plv8) | 3.2.2 | PL/JavaScript (v8) 可信过程程序语言 | +| [md5hash](https://github.com/tvondra/md5hash) | 1.0.1 | 提供128位MD5的原生数据类型 | +| [pg_tde](https://github.com/Percona-Lab/pg_tde) | 1.0-alpha | PostgreSQL 的实验性加密存储引擎。 | +| [pg_dirtyread](https://github.com/df7cb/pg_dirtyread) | 2.6 | 从 PostgreSQL 表中读取未清理的死元组,用于脏读 | +| [pg_sparse](https://github.com/paradedb/paradedb/tree/v0.6.1/pg_sparse) ❋ | 0.6.1 | ParadeDB 稀疏向量数据库类型与HNSW索引 | +| [imgsmlr](https://github.com/postgrespro/imgsmlr) ❋ | 1.0.0 | 使用Haar小波分析计算图片相似度 | +| [pg_similarity](https://github.com/eulerto/pg_similarity) ❋ | 1.0.0 | 提供17种距离度量函数 | +| [pg_net](https://github.com/supabase/pg_net) ※ | 0.9.1 | 用 SQL 进行异步非阻塞HTTP/HTTPS 请求的扩展 (supabase) | +| [pgsql-http](https://github.com/pramsey/pgsql-http) ※ | 1.6 | HTTP客户端,允许在数据库内收发HTTP请求 | +| [pgsql-gzip](https://github.com/pramsey/pgsql-gzip) ※ | 1.0 | 使用SQL执行Gzip压缩与解压缩 | + +> 注意:带有 ❋ 标记的扩展由于各种原因尚未适配 PostgreSQL 16 +> +> 带有 ※ 标记的扩展曾经由 Pigsty 维护管理,现在已经收纳至 PGDG 官方源中 \ No newline at end of file diff --git a/docs/zh/README.md b/docs/zh/README.md index 1b26e02c..ca307270 100644 --- a/docs/zh/README.md +++ b/docs/zh/README.md @@ -15,7 +15,7 @@ > Pigsty 提出以下六条 [**价值主张**](FEATURE#价值主张) ,更多详情请参阅 [**功能特性**](FEATURE) 。 -[**可扩展性**](https://repo.pigsty.cc/img/pigsty-extension.jpg): 强力[**扩展**](PGSQL-EXTENSION)开箱即用:深度整合**PostGIS**, **TimescaleDB**, **Citus**, **PGVector**, **ParadeDB**, **Hydra**, **AGE** , **PGML** 等 [**150+**](PGSQL-EXTENSION#扩展列表) PG生态插件。 +[**可扩展性**](https://repo.pigsty.cc/img/pigsty-extension.jpg): 强力[**扩展**](PGSQL-EXTENSION)开箱即用:深度整合**PostGIS**, **TimescaleDB**, **Citus**, **PGVector**, **ParadeDB**, **Hydra**, **AGE** , **PGML** 等 [**255+**](PGSQL-EXTENSION#扩展列表) PG生态插件。 [**可靠性**](https://repo.pigsty.cc/img/pigsty-arch.jpg):快速创建[**高可用**](PGSQL-ARCH#高可用)、故障自愈的 [**PostgreSQL**](PGSQL) 集群,自动预置的[**时间点恢复**](PGSQL-ARCH#时间点恢复)、[**访问控制**](PGSQL-ACL)、自签名 [**CA**](PARAM#ca) 与 [**SSL**](SECURITY),确保数据坚如磐石。