提交 00ec767c authored 作者: noelgrandin's avatar noelgrandin

the Vertica engine is based on PostgreSQL, so treat is the same

上级 1294a060
...@@ -136,7 +136,8 @@ public class DbContents { ...@@ -136,7 +136,8 @@ public class DbContents {
} }
isSQLite = url.startsWith("jdbc:sqlite:"); isSQLite = url.startsWith("jdbc:sqlite:");
isOracle = url.startsWith("jdbc:oracle:"); isOracle = url.startsWith("jdbc:oracle:");
isPostgreSQL = url.startsWith("jdbc:postgresql:"); // the Vertica engine is based on PostgreSQL
isPostgreSQL = url.startsWith("jdbc:postgresql:") || url.startsWith("jdbc:vertica:");
// isHSQLDB = url.startsWith("jdbc:hsqldb:"); // isHSQLDB = url.startsWith("jdbc:hsqldb:");
isMySQL = url.startsWith("jdbc:mysql:"); isMySQL = url.startsWith("jdbc:mysql:");
isDerby = url.startsWith("jdbc:derby:"); isDerby = url.startsWith("jdbc:derby:");
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论