Add PG reindex linting warning and improve some smaller stuff
This commit is contained in:
1 parent
6e15f65467
commit
fa56196f04
4 files changed
+21
-7
No files matched your search
@@ -21,4 +21,11 @@ class PostgresqlAnalyser(BaseAnalyser):
|
||||
"mode": "one_liner",
|
||||
"type": "warning",
|
||||
},
|
||||
{
|
||||
"code": "REINDEX",
|
||||
"fn": lambda sql, **kw: sql.startswith("REINDEX"),
|
||||
"msg": "REINDEX locks table",
|
||||
"mode": "one_liner",
|
||||
"type": "warning",
|
||||
},
|
||||
]
|
||||
Reference in new issue
Block a user