Commit 3942fd4
authored
Fix false positive non-superuser errors
Regex matching solely against the word "insufficient" means that it's trivial to cause this to alert unnecessarily by merely including the string "insufficient" in one's real query. Instead verify that we don't actually have a real query and know for certain this is an error condition.1 parent 9f536c7 commit 3942fd4
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8737 | 8737 | | |
8738 | 8738 | | |
8739 | 8739 | | |
8740 | | - | |
| 8740 | + | |
8741 | 8741 | | |
8742 | 8742 | | |
8743 | 8743 | | |
| |||
0 commit comments