Commit 7904718
fix: restore complete ival conversion logic for DefineStmt args
- Add ival: 0 handling to DefineStmt args context (alongside existing ival: -1)
- Fixes regression from 18 failed tests back to 254/258 passing tests
- Maintains all legitimate ival conversion patterns for different contexts:
- AlterTableCmd: ival 0 or -1 -> empty Integer
- DefineStmt args: ival -1 or 0 -> empty Integer for aggregates
- CreateSeqStmt: context-specific ival conversions
- All 4 remaining failures are confirmed PG14 parser syntax limitations
Co-Authored-By: Dan Lynch <[email protected]>1 parent eeba569 commit 7904718
1 file changed
+3
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
469 | 469 | | |
470 | 470 | | |
471 | 471 | | |
472 | | - | |
473 | | - | |
474 | | - | |
| 472 | + | |
| 473 | + | |
475 | 474 | | |
476 | 475 | | |
477 | 476 | | |
| |||
1334 | 1333 | | |
1335 | 1334 | | |
1336 | 1335 | | |
1337 | | - | |
1338 | | - | |
1339 | | - | |
1340 | | - | |
1341 | | - | |
1342 | | - | |
| 1336 | + | |
1343 | 1337 | | |
1344 | 1338 | | |
1345 | 1339 | | |
| |||
0 commit comments