Skip to content

Commit d9cd6bb

Browse files
author
zhongming Fan
committed
feat: vastbase
1 parent 8f5eaca commit d9cd6bb

File tree

3 files changed

+1798
-1
lines changed

3 files changed

+1798
-1
lines changed

exporter.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ func NewExporter(configFile string) (Exporter, error) {
9696
AllowNativePasswords: true,
9797
}
9898
*dsnOverride = cfg.FormatDSN()
99-
case "postgres":
99+
case "postgres", "vastbase": // 海量数据库
100100
*dsnOverride = fmt.Sprintf("postgres://%s/%s?sslmode=disable", commonDSN, dbName)
101101
case "opengauss":
102102
*dsnOverride = fmt.Sprintf("opengauss://%s/%s?sslmode=disable", commonDSN, dbName)

0 commit comments

Comments
 (0)