feat: add GaussDB ODBC support and flatten connection list

- Add GaussDB/openGauss support via ODBC (resolves #106)
- Use pg_catalog queries instead of information_schema for compatibility
- Share ODBC environment across drivers with auto ODBCSYSINI detection
- Fix ODBC error message false positive on "Driver" keyword match
- Merge connection dialog categories into a single flat list
- Remove duplicate DDL button from data grid footer
This commit is contained in:
t8y2
2026-05-07 02:18:20 +08:00
parent 969f441753
commit b79e5b53bc
21 changed files with 602 additions and 40 deletions
+2 -1
View File
@@ -77,7 +77,8 @@ async function resolveSchema(connectionId: string, database: string): Promise<st
config?.db_type === "sqlserver" ||
config?.db_type === "oracle" ||
config?.db_type === "redshift" ||
config?.db_type === "dameng";
config?.db_type === "dameng" ||
config?.db_type === "gaussdb";
if (needsSchema) {
const schemas = await api.listSchemas(connectionId, database);
return schemas.includes("public") ? "public" : (schemas[0] ?? "");