Commit e725593
Add CREATE/ALTER SECURITY POLICY statement support
- Add SecurityPolicyStatement, SecurityPolicyOption, SecurityPredicateAction AST types
- Implement parseCreateSecurityPolicyStatement and parseAlterSecurityPolicyStatement
- Add marshaling functions with correct ActionType handling (AlterState, AlterReplication, AlterPredicates)
- Handle comma-separated predicate actions and NOT FOR REPLICATION clauses
- Enable CreateAlterSecurityPolicyStatementTests130
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent a5c42aa commit e725593
6 files changed
Lines changed: 510 additions & 2 deletions
File tree
- ast
- parser
- testdata
- Baselines130_CreateAlterSecurityPolicyStatementTests130
- CreateAlterSecurityPolicyStatementTests130
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
521 | 521 | | |
522 | 522 | | |
523 | 523 | | |
| 524 | + | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
524 | 528 | | |
525 | 529 | | |
526 | 530 | | |
| |||
20324 | 20328 | | |
20325 | 20329 | | |
20326 | 20330 | | |
| 20331 | + | |
| 20332 | + | |
| 20333 | + | |
| 20334 | + | |
| 20335 | + | |
| 20336 | + | |
| 20337 | + | |
| 20338 | + | |
| 20339 | + | |
| 20340 | + | |
| 20341 | + | |
| 20342 | + | |
| 20343 | + | |
| 20344 | + | |
| 20345 | + | |
| 20346 | + | |
| 20347 | + | |
| 20348 | + | |
| 20349 | + | |
| 20350 | + | |
| 20351 | + | |
| 20352 | + | |
| 20353 | + | |
| 20354 | + | |
| 20355 | + | |
| 20356 | + | |
| 20357 | + | |
| 20358 | + | |
| 20359 | + | |
| 20360 | + | |
| 20361 | + | |
| 20362 | + | |
| 20363 | + | |
| 20364 | + | |
| 20365 | + | |
| 20366 | + | |
| 20367 | + | |
| 20368 | + | |
| 20369 | + | |
| 20370 | + | |
| 20371 | + | |
| 20372 | + | |
| 20373 | + | |
| 20374 | + | |
| 20375 | + | |
| 20376 | + | |
| 20377 | + | |
| 20378 | + | |
| 20379 | + | |
| 20380 | + | |
| 20381 | + | |
| 20382 | + | |
| 20383 | + | |
| 20384 | + | |
| 20385 | + | |
| 20386 | + | |
| 20387 | + | |
| 20388 | + | |
| 20389 | + | |
| 20390 | + | |
| 20391 | + | |
| 20392 | + | |
| 20393 | + | |
| 20394 | + | |
| 20395 | + | |
| 20396 | + | |
| 20397 | + | |
| 20398 | + | |
| 20399 | + | |
| 20400 | + | |
| 20401 | + | |
| 20402 | + | |
| 20403 | + | |
| 20404 | + | |
| 20405 | + | |
| 20406 | + | |
| 20407 | + | |
| 20408 | + | |
| 20409 | + | |
| 20410 | + | |
| 20411 | + | |
| 20412 | + | |
| 20413 | + | |
| 20414 | + | |
| 20415 | + | |
| 20416 | + | |
0 commit comments