extensions.sql

On this page

Extensions: optional capabilities for the runtime

Phase: Pre-catalog | Order: 3 | Required: No

Load DuckDB extensions for cloud storage, external databases, and specialized functions.

MethodScope
extensions.sqlGlobal (entire runtime)
@extension directivePer-model

Cloud Storage

INSTALL httpfs;
LOAD httpfs;

External Databases

INSTALL postgres;
LOAD postgres;
INSTALL mysql;
LOAD mysql;

Specialized Functions

INSTALL spatial;
LOAD spatial;

For the full list, see the DuckDB extensions documentation.