Repository navigation
Commit c9cfe17
fix(analyst): refuse every PostgreSQL large-object write path in read-only
`lo_from_bytea`, `lo_truncate`/`lo_truncate64`, `lo_open` and `lowrite` join the denied large-object group (the first creates or overwrites a large object from bytea; the others write through a descriptor), and the PostgreSQL-only `readOnly` spread that duplicated the unconditional `readOnly: true` is removed. Tests: the five large-object forms rejected before execution.
Co-Authored-By: Claude Fable 5.1 <[email protected]>sql_check sources; drop a redundant read-only spread1 parent 2f824cf commit c9cfe17
2 files changed
Lines changed: 11 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
187 | 187 | | |
188 | 188 | | |
189 | 189 | | |
190 | | - | |
| 190 | + | |
191 | 191 | | |
192 | 192 | | |
193 | 193 | | |
| |||
330 | 330 | | |
331 | 331 | | |
332 | 332 | | |
333 | | - | |
334 | 333 | | |
335 | 334 | | |
336 | 335 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
134 | 144 | | |
135 | 145 | | |
136 | 146 | | |
| |||
0 commit comments