Repository navigation
Commit 2f824cf
fix(analyst): refuse the PostgreSQL statistics-reset functions in read-only
`pg_stat_reset`, `pg_stat_reset_shared` and the other `pg_stat_reset*` functions clear cumulative counters that a read-only transaction and rollback cannot restore; they are now part of the denied control-function class. Tests: the three forms rejected before execution.
Co-Authored-By: Claude Fable 5.1 <[email protected]>sql_check sources1 parent 4a7c61e commit 2f824cf
2 files changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
187 | 187 | | |
188 | 188 | | |
189 | 189 | | |
190 | | - | |
| 190 | + | |
191 | 191 | | |
192 | 192 | | |
193 | 193 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
147 | 147 | | |
148 | 148 | | |
149 | 149 | | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
150 | 153 | | |
151 | 154 | | |
152 | 155 | | |
| |||
0 commit comments