Repository navigation
Commit a6da400
authored
fix(parser): allow VERSION in ALTER column clauses (#2530)
VERSION is non-reserved, but restricted legacy productions reject it in DROP COLUMN and USING clauses. Accept the token in those productions and cover both PostgreSQL corpus cases.1 parent 125de36 commit a6da400
2 files changed
Lines changed: 11 additions & 1 deletion
File tree
- src
- main/jjtree/net/sf/jsqlparser/parser
- test/java/net/sf/jsqlparser/statement/alter
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2244 | 2244 | | |
2245 | 2245 | | |
2246 | 2246 | | |
| 2247 | + | |
2247 | 2248 | | |
2248 | 2249 | | |
2249 | 2250 | | |
| |||
12065 | 12066 | | |
12066 | 12067 | | |
12067 | 12068 | | |
12068 | | - | |
| 12069 | + | |
12069 | 12070 | | |
12070 | 12071 | | |
12071 | 12072 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
648 | 648 | | |
649 | 649 | | |
650 | 650 | | |
| 651 | + | |
| 652 | + | |
| 653 | + | |
| 654 | + | |
| 655 | + | |
| 656 | + | |
| 657 | + | |
| 658 | + | |
| 659 | + | |
651 | 660 | | |
652 | 661 | | |
653 | 662 | | |
| |||
0 commit comments