14.2. Загрузка расширения DuckDB в сеанс (axe.load_extension) #

В отличие от axe.install_extension, эта хранимая процедура загружает расширение DuckDB только в текущий сеанс и не настраивает автоматическую загрузку расширения в будущих сеансах.

Требуемые права: суперпользователь или администратор Postgres Pro AXE.

За подробной информацией об управлении доступом обратитесь к Главе 12.

Выполните следующую команду на сервере Postgres Pro AXE:

  SELECT axe.load_extension(имя_расширения);

Где имя_расширения — это имя расширения DuckDB, которое требуется загрузить в сеанс.

Пример 14.2. Загрузка расширения Iceberg в сеанс

  SELECT axe.load_extension('iceberg');

14.2. Loading a DuckDB Extension into the Session (axe.load_extension) #

Unlike axe.install_extension, this stored procedure loads a DuckDB extension into the current session only and does not configure the extension to be loaded automatically in future sessions.

Required privileges: Superuser or the Postgres Pro AXE administrator.

For more information about access management, refer to Chapter 12.

Execute the following command on the Postgres Pro AXE server:

  SELECT axe.load_extension(extension_name);

Where extension_name is the name of the DuckDB extension that must be loaded into the session.

Example 14.2. Loading the Iceberg Extension into the Session

  SELECT axe.load_extension('iceberg');

FAQ