These extensions require a separate package install on each host in your WarehousePG cluster before you can enable them, and availability varies by version.
| Extension | Description | 6 | 7.6 |
|---|---|---|---|
| MADlib | Provides machine learning routines for structured and unstructured data. | ✓ | ✓ |
| PGAA | Enables distributed analytical queries against object storage directly from WarehousePG, with support for Parquet, Delta Lake, and Iceberg formats. | — | ✓ |
| pgAudit | Provides detailed session and object audit logging for WarehousePG. | ✓ | ✓ |
| PGFS | Provides the storage layer for object storage connectivity, including credential management for S3, GCS, and Azure. Required dependency of PGAA. | — | ✓ |
| pgvector | Provides vector similarity search capabilities for WarehousePG that enable searching, storing, and querying machine-learning-generated embeddings at scale. | — | ✓ |
| PostGIS | Provides spatial and geographic data types and functions for WarehousePG. | ✓ | ✓ |
| postgresql-hll | Provides native HyperLogLog data types and relation functions, operators, and aggregates. | ✓ | ✓ |
| user_profile | Provides password quality checking and policy definition for WarehousePG. | ✓ | ✓ |
| Vector Plus | Provides the ivfplus index access method for vector similarity search in WarehousePG, built on pgvector. | — | ✓ |
| whpg-anonymizer | Provides dynamic data masking and static data anonymization for WarehousePG. | — | ✓ |
| whpg-cron | Provides a cron-based job scheduler for running periodic SQL commands directly from WarehousePG. | — | ✓ |
| whpg-diskquota | Limits the amount of disk space used by schemas, roles, tablespaces, databases, or the cluster. | ✓ | ✓ |
| whpg_fdw | Provides a foreign data wrapper (FDW) for accessing data stored in a remote WarehousePG cluster. | ✓ | ✓ |
| whpg-partman | Automates the creation, maintenance, and retention of time-based and serial ID-based partition sets. | — | ✓ |
| whpg-pgsphere | Provides spherical data types and operators for astronomical data. | — | ✓ |
| whpg-q3c | Provides spherical indexing for astronomical catalogues. | — | ✓ |
| whpg-utl-raw | Provides Oracle-compatible UTL_RAW functions for manipulating the RAW binary data type. | ✓ | ✓ |
Downloading and installing an extension
Install the EDB extension package on each host in your WarehousePG cluster.
From the coordinator, download the package from the EDB repository:
export EDB_SUBSCRIPTION_TOKEN=<your-token> export EDB_REPO=gpsupp curl -1sSLf "https://downloads.enterprisedb.com/$EDB_SUBSCRIPTION_TOKEN/$EDB_REPO/setup.rpm.sh" | sudo -E bash sudo dnf download edb-whpg<major_version>-<extension_name>
export EDB_SUBSCRIPTION_TOKEN=<your-token> export EDB_REPO=gpsupp curl -1sSLf "https://downloads.enterprisedb.com/$EDB_SUBSCRIPTION_TOKEN/$EDB_REPO/setup.rpm.sh" | sudo -E bash sudo yumdownloader edb-whpg<major_version>-<extension_name>
<your-token>is the token you received when you registered for the EDB subscription,<major_version>is your WarehousePG version, 6 or 7, and<extension_name>is the name of the extension you want to install.Create a file
all_hostson your WarehousePG coordinator, listing all hosts in the cluster. For example:cdw scdw sdw1 sdw2 sdw3
From the coordinator, use the
gpsyncutility to transfer the package to all hosts in the cluster, then use thegpsshutility to install the package:gpsync -f all_hosts <package-name> =:/tmp gpssh -f all_hosts -e 'sudo dnf install -y /tmp/<package-name>'
gpsync -f all_hosts <package-name> =:/tmp gpssh -f all_hosts -e 'sudo yum install -y /tmp/<package-name>'
Where
<package-name>is the name of the package file you downloaded.
Upgrading an extension
Upgrade the EDB extension package on each host in your WarehousePG cluster.
From the coordinator, download the new package version from the EDB repository:
export EDB_SUBSCRIPTION_TOKEN=<your-token> export EDB_REPO=gpsupp curl -1sSLf "https://downloads.enterprisedb.com/$EDB_SUBSCRIPTION_TOKEN/$EDB_REPO/setup.rpm.sh" | sudo -E bash sudo dnf download edb-whpg<major_version>-<extension_name>
export EDB_SUBSCRIPTION_TOKEN=<your-token> export EDB_REPO=gpsupp curl -1sSLf "https://downloads.enterprisedb.com/$EDB_SUBSCRIPTION_TOKEN/$EDB_REPO/setup.rpm.sh" | sudo -E bash sudo yumdownloader edb-whpg<major_version>-<extension_name>
<your-token>is the token you received when you registered for the EDB subscription,<major_version>is your WarehousePG version, 6 or 7, and<extension_name>is the name of the extension you want to upgrade.On your WarehousePG coordinator, use the same
all_hostsfile you created when you installed the extension, listing all hosts in the cluster.From the coordinator, use the
gpsyncutility to transfer the new package to all hosts in the cluster, then use thegpsshutility to upgrade the package:gpsync -f all_hosts <package-name> =:/tmp gpssh -f all_hosts -e 'sudo dnf upgrade -y /tmp/<package-name>'
gpsync -f all_hosts <package-name> =:/tmp gpssh -f all_hosts -e 'sudo yum upgrade -y /tmp/<package-name>'
Where
<package-name>is the name of the new package file you downloaded.
Once the package is upgraded on every host, follow the extension's own documentation to complete the upgrade, such as updating the extension in each database where it's registered.
PGAA
Query data in object storage directly from WarehousePG using the Postgres Analytics Accelerator extension.
pgAudit
Learn about the pgaudit extension for WarehousePG.
PGFS
Manage object storage connectivity and credentials in WarehousePG using the Postgres File System extension.
pgvector
Learn how to store, query, and index embeddings in WarehousePG using the pgvector extension.
postgresql-hll
Provides native HyperLogLog data types and relation functions, operators, and aggregates.
user_profile
Learn about the user_profile extension for WarehousePG.
whpg-anonymizer
Learn how to implement dynamic data masking and anonymization in WarehousePG.
whpg-cron
Learn how to schedule periodic SQL jobs in WarehousePG using the whpg-cron extension.
whpg-diskquota
Learn how to limit disk space usage in WarehousePG by schema, role, tablespace, database, or cluster with the whpg-diskquota extension.
whpg_fdw
Learn about the whpg_fdw extension for WarehousePG.
whpg-partman
Learn how to automate time-based and serial ID partition management in WarehousePG using the whpg-partman extension.
whpg-pgsphere
Learn how to use the whpg-pgsphere extension for spherical data types and operators for astronomical data in WarehousePG.
whpg-q3c
Learn how to use the whpg-q3c extension for spherical indexing of astronomical catalogs in WarehousePG.
whpg-utl-raw
Learn about the whpg-utl-raw extension for WarehousePG.
Vector Plus
Build and query ivfplus vector indexes in WarehousePG using the EDB Vector Plus extension.