Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

chore: disable syntax checker for pg (#1656)

Danny Xua61577a3877b
diff --git a/plugin/advisor/advisor.go b/plugin/advisor/advisor.go
index 59f096d516..26e32b2d2d 100644
--- a/plugin/advisor/advisor.go
+++ b/plugin/advisor/advisor.go
@@ -203,7 +203,7 @@ func Check(dbType db.Type, advType Type, ctx Context, statement string) ([]Advic
// IsSyntaxCheckSupported checks the engine type if syntax check supports it.
func IsSyntaxCheckSupported(engine db.Type) bool {
- if engine == db.MySQL || engine == db.TiDB || engine == db.Postgres {
+ if engine == db.MySQL || engine == db.TiDB {
return true
}
return false