Skip to content

utils: Hand conn from load_extension to duckdb_extensions - #53

Closed
lentinj wants to merge 1 commit into
cboettig:mainfrom
lentinj:main
Closed

utils: Hand conn from load_extension to duckdb_extensions#53
lentinj wants to merge 1 commit into
cboettig:mainfrom
lentinj:main

Conversation

@lentinj

@lentinj lentinj commented Nov 25, 2025

Copy link
Copy Markdown

Small problem I noticed whilst playing with duckdbfs, and wondering why the extension wasn't loading.

Had a look at #49, and appreciate that trying to use a DuckDB file & connection is "holding it wrong", but the parameter is there so someone is going to try and use it :)

If we don't, then duckdb_extensions() will inspect a separate in-memory
database and not the one the extension should be loaded into. As a
result, duckdbfs::load_spatial(conn = con) may not do anything.
@cboettig

Copy link
Copy Markdown
Owner

good catch, thanks!

@lentinj lentinj closed this by deleting the head repository Mar 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants