14.1. Installing a DuckDB Extension (axe.install_extension) #
When you install a DuckDB extension, it is loaded automatically into every session that uses the analytics engine. You can change this behavior using the axe.autoload_extension stored procedure.
To install known DuckDB extensions automatically, set the axe.autoinstall_known_extensions configuration parameter to true (default).
Required privileges: Superuser or the Postgres Pro AXE administrator with the following privileges:
the
EXECUTEprivilege on this stored procedurethe
INSERTandUPDATEprivileges on theduckdb.extensionsservice table
For more information about access management, refer to Chapter 12.
Execute the following command on the Postgres Pro AXE server:
SELECT axe.install_extension(extension_name[,source]);
Where:
extension_name: The name of the DuckDB extension that must be installed.source: The repository with the DuckDB extension.Possible values:
core: The default repository of stable DuckDB extensions.core_nightly: The nightly repository of DuckDB extensions.community: The repository of community DuckDB extensions.
Default value:
core.Optional parameter.
Example 14.1. Installing the Iceberg and Delta Extensions
SELECT axe.install_extension('iceberg');
SELECT axe.install_extension('delta');