Skip to content

feat: add Dameng DM8 URL support - #53

Merged
kenshaw merged 2 commits into
xo:mainfrom
wkyfasttank:feat/dameng-scheme
Sep 13, 2026
Merged

kenshaw merged 2 commits into
xo:mainfrom
wkyfasttank:feat/dameng-scheme

Conversation

@wkyfasttank

@wkyfasttank wkyfasttank commented Aug 4, 2026 •

Copy link
Copy Markdown

Summary

  • Register dm as the canonical Dameng DM8 scheme with dm8 and dameng aliases.
  • Generate native DM8 DSNs with TCP, localhost, port 5236, credentials, schema, and native query options.
  • Reject malformed, repeated, case-colliding, or otherwise unrepresentable URL input instead of silently changing connection semantics.
  • Document the Dameng scheme and Go driver in the supported-driver table.
  • Keep dburl independent from usql and the Dameng Go driver.

This is the prerequisite URL contract for xo/usql#585.

Verification

  • go test ./... -count=1 (221 passed)
  • go test -race ./... -count=1 (221 passed)
  • CGO_ENABLED=0 go test ./... -count=1
  • go vet ./...
  • golangci-lint v2.1.6 run ./... (0 issues)
  • no new module dependencies; tests use only the Go standard library

@kenshaw
kenshaw merged commit ddcbe0c into xo:main Sep 13, 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