Dashboard Configuration
This extension requires activation via the PlanetScale dashboard before it can be used. It must be enabled through shared libraries and requires a database restart. To enable pg_duckdb:Parameters
duckdb.postgres_role
- Type: String
- Default:
pscale_superuser - Description: Specifies the Postgres role that is allowed to use DuckDB execution and manage secrets.
duckdb.memory_limit
- Type: Integer
- Default: 0
- Description: Maximum memory DuckDB can use per connection in megabytes. Setting to 0 activates DuckDB’s default (80% of available RAM).
Usage
After enabling the extension through the dashboard, you can install it in your database:External Documentation
For more detailed information aboutpg_duckdb usage and functionality, see the official pg_duckdb documentation.
