feat(highgo-sm3): 增加瀚高SM3专用驱动并解耦PostgreSQL连接链路

- 引入 third_party/highgo-pq 作为 HighGo 专用驱动实现
- 调整驱动注册与连接入口,避免覆盖 postgres 驱动
- 保持 PG 数据源行为不变并补充接入文档
This commit is contained in:
Syngnat
2026-02-10 17:42:28 +08:00
parent 52abed83e6
commit de8fb60a30
76 changed files with 16980 additions and 30 deletions

3
go.mod
View File

@@ -6,6 +6,7 @@ require (
gitea.com/kingbase/gokb v0.0.0-20201021123113-29bd62a876c3
gitee.com/chunanyong/dm v1.8.22
github.com/go-sql-driver/mysql v1.9.3
github.com/highgo/pq-sm3 v0.0.0
github.com/lib/pq v1.11.1
github.com/microsoft/go-mssqldb v1.9.6
github.com/redis/go-redis/v9 v9.17.3
@@ -75,3 +76,5 @@ require (
modernc.org/mathutil v1.7.1 // indirect
modernc.org/memory v1.11.0 // indirect
)
replace github.com/highgo/pq-sm3 => ./third_party/highgo-pq