Search code examples
odbcduckdb

Load signed extension in the DUCKDB ODBC connection


I'm trying to find where/how to load a signed extension, the spatial one specifically, in the duckdb ODBC connection. I can't seem to find any documentation on how this is done.

Is this possible?

Here is what the ODBC.ini looks like

[ODBC 32 bit Data Sources]
DuckDB=DuckDB Driver (32 bit)
[DuckDB]
Driver32=C:\TEMP\duckdb_odbc-windows-amd64\duckdb_odbc.dll

Solution

  • The ODBC driver now supports loading extensions, including unsigned extensions, see https://github.com/duckdb/duckdb/pull/10692

    See also the documentation: https://duckdb.org/docs/api/odbc/macos#the-odbcini-or-odbcini-file