Skip to content

Commit dec2b0f

Browse files
committed
notes
1 parent a753074 commit dec2b0f

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# AST Transformer Implementation
2+
3+
### Transformers
4+
5+
#### v13 β†’ v14 (`v13-to-v14.ts`)
6+
- **Changes**: Field rename `relkind` β†’ `objtype`
7+
- **Affected nodes**: `AlterTableStmt`, `CreateTableAsStmt`
8+
9+
#### v14 β†’ v15 (`v14-to-v15.ts`)
10+
- **Major change**: A_Const structure flattening
11+
- Before: `A_Const.val.String.str`
12+
- After: `A_Const.sval.sval`
13+
- **Field renames**:
14+
- `String.str` β†’ `String.sval`
15+
- `BitString.str` β†’ `BitString.bsval`
16+
- `Float.str` β†’ `Float.fval`
17+
- **Other changes**:
18+
- `tables` β†’ `pubobjects` in publication statements
19+
- `tableAction` β†’ `action` in `AlterPublicationStmt`
20+
21+
#### v15 β†’ v16 (`v15-to-v16.ts`)
22+
- **Changes**: Minimal for basic queries
23+
- **Advanced features**: Support for Var node changes, Aggref field rename
24+
25+
#### v16 β†’ v17 (`v16-to-v17.ts`)
26+
- **Changes**: None for basic queries
27+
- **Note**: Pass-through transformer for compatibility

0 commit comments

Comments
Β (0)