Skip to content

Configuration full-native: all new drivers in one build - #186

Merged
buggins merged 4 commits into
masterfrom
feature/full-native
Nov 12, 2026
Merged

buggins merged 4 commits into
masterfrom
feature/full-native

Conversation

@buggins

@buggins buggins commented Nov 12, 2026 •

Copy link
Copy Markdown
Owner

Closes #185

A new configuration full-native ("subConfigurations": { "ddbc": "full-native" }) with all the newer drivers in one build:

Driver Version identifier Library
MySQL USE_MYSQL mysql-native
SQLite USE_SQLITE sqlite3 (linked as in full; bundled DLL/lib on Windows)
ClickHouse USE_CLICKHOUSE clickhoused
SQL Server USE_MSSQL mssql-native
Oracle USE_ORACLE oracle-native
PostgreSQL USE_PGNATIVE postgresql-native

There's no libpq or ODBC in it, so postgresql:///postgres://, sqlserver:// and oracle:// URLs use the native drivers. full stays the default.

Also:

  • test-native: the ddbctest runner with all of these drivers, so their tests run together in one binary;
  • CI: dub build --config=full-native in the build matrix, and dub run --config=test-native in the integration job (all services are already there);
  • README: a full-native row in the configuration table ("Choosing drivers"), the URL table says which configurations route sqlserver:///oracle:///postgresql:// to the native drivers, and Contributing says how to run test-native.

Tested: dub build --config=full-native and test-native on LDC 1.36 and 1.27.1; dub test --config=full-native (ddbc unit tests, incl. URL routing) passes; test-native against MySQL 5.7, ClickHouse 25.8, SQL Server 2022, Oracle 23ai Free and PostgreSQL: 104 tests, all OK.

🤖 Generated with Claude Code

buggins and others added 4 commits November 12, 2026 11:57
full-native compiles in MySQL (mysql-native), SQLite and the native
ClickHouse, SQL Server, Oracle and PostgreSQL drivers, so an application
can use them together; postgresql://, sqlserver:// and oracle:// URLs
then use the native drivers. test-native runs all their tests in one
binary; CI builds full-native and runs test-native against all servers.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@buggins buggins self-assigned this Nov 12, 2026
@buggins
buggins merged commit 8d35b0c into master Nov 12, 2026
100 checks passed
@buggins
buggins deleted the feature/full-native branch November 12, 2026 12:46
This was referenced Nov 12, 2026
buggins added a commit that referenced this pull request Nov 12, 2026
Configuration full-native (#185, #186), README Choosing drivers (#182,
#183), and the native drivers on clickhoused 0.9.2, postgresql-native
0.6.1, oracle-native 0.4.1, mssql-native 0.3.1 and dbwire 0.9.6
(#178-#181). The dependency snippets now say ~>0.13.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
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.

Configuration with all new drivers: native connectors, mysql-native and SQLite

1 participant