Closed elefeint closed 7 months ago
@elefeint Thanks for the PR and the refactoring. Just because I'm curious: what is the idea behind setting the duckdb_api
identifier?
It allows analysis of which surfaces of DuckDB are used. Without it, go-duckdb
usage is indistinguishable from other "C api" usage.
DuckDB 0.9.2 introduced
PRAGMA USER_AGENT
consisting of the surface API (duckdb_api
) and a composablecustom_user_agent
.This PR sets
duckdb_api
togo
. And since config is now always passed when opening the database, it actually deletes more code than it adds!