Commit 92ffbee
feat(plsql): integrate upstream rules into grammar entry points
Integrates the upstream rules into the main grammar so they are actually
usable:
- Add create_schema to unit_statement
- Add drop_materialized_view_log to unit_statement
- Add accessible_by_clause to create_package, create_function_body,
create_procedure_body
- Add annotations_clause to create_package, create_function_body,
create_procedure_body
- Add default_collation_clause to create_package, create_function_body,
create_procedure_body
- Add compound_trigger_block to trigger_body
- Integrate pipelined_using_clause into create_function_body for
polymorphic table functions (ROW/TABLE POLYMORPHIC)
Test files added from upstream:
- examples/create_function03.sql (polymorphic pipelined function)
- examples/drop_materialized_view_log.sql
All 373 tests pass.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent 1cdc452 commit 92ffbee
4 files changed
Lines changed: 26693 additions & 26068 deletions
File tree
- plsql
- examples
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
| 111 | + | |
111 | 112 | | |
112 | 113 | | |
113 | 114 | | |
| |||
139 | 140 | | |
140 | 141 | | |
141 | 142 | | |
| 143 | + | |
142 | 144 | | |
143 | 145 | | |
144 | 146 | | |
| |||
478 | 480 | | |
479 | 481 | | |
480 | 482 | | |
481 | | - | |
| 483 | + | |
482 | 484 | | |
483 | | - | |
| 485 | + | |
| 486 | + | |
484 | 487 | | |
485 | 488 | | |
486 | 489 | | |
| |||
594 | 597 | | |
595 | 598 | | |
596 | 599 | | |
597 | | - | |
| 600 | + | |
| 601 | + | |
| 602 | + | |
598 | 603 | | |
599 | 604 | | |
600 | 605 | | |
| |||
674 | 679 | | |
675 | 680 | | |
676 | 681 | | |
677 | | - | |
| 682 | + | |
678 | 683 | | |
679 | 684 | | |
680 | 685 | | |
| |||
773 | 778 | | |
774 | 779 | | |
775 | 780 | | |
776 | | - | |
| 781 | + | |
777 | 782 | | |
778 | 783 | | |
779 | 784 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
0 commit comments