marcboeker / go-duckdb

go-duckdb provides a database/sql driver for the DuckDB database engine.
MIT License
646 stars 97 forks source link

Add support for windows #248

Open JAicewizard opened 2 months ago

JAicewizard commented 2 months ago

Pretty self-explanatory, this adds support for windows.

There are a couple issues, notably that duckdb doesn't build many extensions for mingw on windows. For this reason, I decided to statically link the json extension, as it feels essential. This leads to some platform differences, as explicitly installing/loading the json extension will result in an error.

taniabogatsch commented 1 week ago

Amazing, thanks for working on this! I've moved some of your changes in duckdb to a new PR here to (hopefully) include them in the upcoming release: https://github.com/duckdb/duckdb/pull/13744 That way, we should be able to remove the patch from this PR. I'll review the other changes of this PR after merging the duckdb-side.