Skip to content

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

chore: turn on pg syntax check (#1710)

rebelicefd534636e965
diff --git a/plugin/advisor/advisor.go b/plugin/advisor/advisor.go
index 6f1dbbad24..726f4c8395 100644
--- a/plugin/advisor/advisor.go
+++ b/plugin/advisor/advisor.go
@@ -202,7 +202,7 @@ func Check(dbType DBType, advType Type, ctx Context, statement string) ([]Advice
// IsSyntaxCheckSupported checks the engine type if syntax check supports it.
func IsSyntaxCheckSupported(dbType DBType) bool {
- if dbType == MySQL || dbType == TiDB {
+ if dbType == MySQL || dbType == TiDB || dbType == Postgres {
return true
}
return false