Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
294 commits
Select commit Hold shift + click to select a range
c672bca
fix: remove incorrect FunctionParameter mode conversion from FUNC_PAR…
pyramation Jun 26, 2025
71c4710
fix: correct ParseResult version output to match parser expectations …
pyramation Jun 26, 2025
4adba0c
fix: preserve objfuncargs in CreateCastStmt contexts - only remove fo…
pyramation Jun 26, 2025
8cef8e7
docs: add RULES.md with correct @pgsql/parser usage patterns
pyramation Jun 26, 2025
8f788cc
feat: improve v13-to-v14 transformer with funcformat detection and ob…
pyramation Jun 26, 2025
1c9bddf
refactor: make objfuncargs preservation more restrictive
pyramation Jun 26, 2025
1237ea0
fix: prioritize shouldCreateObjfuncargs logic for CreateCastStmt cont…
pyramation Jun 26, 2025
c78c9b7
fix: remove funcformat addition logic - PG13 FuncCall nodes without f…
pyramation Jun 26, 2025
d5b32d5
fix: clean up FuncCall method formatting and ensure no funcformat add…
pyramation Jun 26, 2025
af6cd86
fix: remove funcformat fields from FuncCall transformations - PG14 ex…
pyramation Jun 26, 2025
2417645
fix: explicitly build FuncCall result object to prevent funcformat fi…
pyramation Jun 26, 2025
86e5785
fix: remove incorrect FunctionParameter mode transformation - FUNC_PA…
pyramation Jun 26, 2025
33b1d2a
fix: attempt FunctionParameter mode transformation FUNC_PARAM_IN -> F…
pyramation Jun 26, 2025
7cfa81b
fix: implement FunctionParameter mode transformation FUNC_PARAM_IN ->…
pyramation Jun 26, 2025
a255aba
fix: move RenameStmt to objfuncargs removal contexts - should not pre…
pyramation Jun 26, 2025
bdbca44
fix: add InsertStmt method to remove override field when OVERRIDING_N…
pyramation Jun 26, 2025
c3e0ac8
fix: improve objfuncargs preservation logic for better context handling
pyramation Jun 26, 2025
6457675
fix: preserve FunctionParameter mode values without transformation
pyramation Jun 26, 2025
89b0f38
fix: preserve InsertStmt override field instead of removing it
pyramation Jun 26, 2025
b6dbbb1
fix: implement FunctionParameter mode transformation FUNC_PARAM_IN ->…
pyramation Jun 26, 2025
f717cb7
fix: preserve objfuncargs in AlterFunctionStmt contexts
pyramation Jun 26, 2025
02024ce
fix: add explicit override field preservation in InsertStmt
pyramation Jun 26, 2025
1492dce
revert: undo problematic changes that caused regressions - back to 78…
pyramation Jun 26, 2025
8285c61
fix: implement FunctionParameter mode transformation FUNC_PARAM_IN ->…
pyramation Jun 26, 2025
864b157
fix: improve FunctionParameter and other non-funcformat transformatio…
pyramation Jun 26, 2025
5386a40
fix: refine objfuncargs preservation and add missing node type transf…
pyramation Jun 26, 2025
470d60b
fix: add funcformat field to FuncCall and transform FUNC_PARAM_IN to …
pyramation Jun 26, 2025
5570dcb
fix: add List transformation method to enable proper traversal of nes…
pyramation Jun 26, 2025
3c754c6
feat: implement additional AST node transformations for improved PG13…
pyramation Jun 26, 2025
f75c1ea
fix: correct DeclareCursorStmt options transformation (48 -> 288)
pyramation Jun 26, 2025
4329114
fix: implement hybrid DeclareCursorStmt options transformation to han…
pyramation Jun 26, 2025
a07a75b
fix: remove duplicate function implementations that caused TypeScript…
pyramation Jun 26, 2025
eab064a
fix: align String/Integer/Float/BitString/Null methods with other tra…
pyramation Jun 26, 2025
a267450
Revert "fix: align String/Integer/Float/BitString/Null methods with o…
pyramation Jun 26, 2025
9061be5
fix: align String/Integer/Float/BitString/Null methods with other tra…
pyramation Jun 26, 2025
4328b27
Revert "fix: align String/Integer/Float/BitString/Null methods with o…
pyramation Jun 26, 2025
94a0019
fix: align String/Integer/Float/BitString/Null methods with other tra…
pyramation Jun 26, 2025
fc0f1b4
Revert "fix: align String/Integer/Float/BitString/Null methods with o…
pyramation Jun 26, 2025
e8cf872
fix: align String/Integer/Float/BitString/Null methods with other tra…
pyramation Jun 26, 2025
790d811
Revert "fix: align String/Integer/Float/BitString/Null methods with o…
pyramation Jun 26, 2025
a5f58f7
fix: align String/Integer/Float/BitString/Null methods with other tra…
pyramation Jun 26, 2025
66f8ab1
Revert "fix: align String/Integer/Float/BitString/Null methods with o…
pyramation Jun 26, 2025
e922ef2
feat: add RoleSpecType enum transformation for PG13->PG14 compatibility
pyramation Jun 26, 2025
4fc9d4a
feat: add transformation methods for new PG14 interface nodes (CTECyc…
pyramation Jun 26, 2025
3dd99a7
feat: add context-aware funcformat logic to exclude CHECK constraints…
pyramation Jun 26, 2025
fd9a940
feat: implement TableLikeOption enum transformation for PG13->PG14 CR…
pyramation Jun 26, 2025
1825e08
feat: exclude DropStmt contexts from objfuncargs preservation to matc…
pyramation Jun 26, 2025
916b6a2
feat: refine ObjectWithArgs objfuncargs handling to ensure CreateCast…
pyramation Jun 26, 2025
572c6b3
feat: enhance CHECK constraint detection with multiple path strategie…
pyramation Jun 26, 2025
f2b0a7c
feat: implement surgical funcformat exclusion for aggregate functions…
pyramation Jun 26, 2025
6a3f99c
feat: add XmlExpr context exclusion for funcformat to handle XML func…
pyramation Jun 26, 2025
6e880da
feat: add INSERT context exclusion for funcformat to handle generate_…
pyramation Jun 26, 2025
5d98426
feat: add RangeFunction context exclusion for funcformat to handle ge…
pyramation Jun 26, 2025
de39ffe
feat: add investigation script for structural differences analysis
pyramation Jun 26, 2025
633dea6
feat: add failing tests analysis script for structural investigation
pyramation Jun 26, 2025
16c2e5e
feat: implement function-specific funcformat logic to break 124/258 p…
pyramation Jun 26, 2025
15da0eb
docs: add comprehensive NOTES.md documenting funcformat transformatio…
pyramation Jun 26, 2025
8cc80e7
feat: implement context-aware substring funcformat handling
pyramation Jun 26, 2025
1062933
fix: revert substring exclusion logic to maintain 125/258 baseline
pyramation Jun 26, 2025
1c30691
feat: add overlaps to sqlSyntaxFunctions for COERCE_SQL_SYNTAX
pyramation Jun 26, 2025
dbc4bfc
feat: add date and isfinite to sqlSyntaxFunctions for COERCE_SQL_SYNTAX
pyramation Jun 26, 2025
07f11e4
fix: restore missing FunctionParameter and AlterFunctionStmt transfor…
pyramation Jun 26, 2025
b0a96be
feat: add date_part to extract function name transformation for PG14 …
pyramation Jun 26, 2025
61f0715
feat: add CreateStmt, CreatePolicyStmt, and DropStmt transformation m…
pyramation Jun 26, 2025
c45d181
feat: add context exclusions for SortBy, default constraints, policie…
pyramation Jun 26, 2025
29cd055
feat: implement enum transformations for A_Expr_Kind and RoleSpecType…
pyramation Jun 26, 2025
73c20af
docs: add critical async parser requirement to RULES.md
pyramation Jun 27, 2025
ae40ad9
feat: add ObjectWithArgs objfuncargs transformation for CommentStmt c…
pyramation Jun 27, 2025
57b6749
ast-test
pyramation Jun 27, 2025
d1fd0bb
fix: correct WithClause transformation to convert objects to arrays f…
pyramation Jun 27, 2025
0fb0340
feat: add RenameStmt support to objfuncargs transformation contexts
pyramation Jun 27, 2025
14c9f28
debug: remove debug logging and clean up objname transformation logic
pyramation Jun 27, 2025
8579352
feat: add AlterOpFamilyStmt to objfuncargs allowed contexts
pyramation Jun 27, 2025
8656f28
fix: improve objname transformation logic to handle array/object conv…
pyramation Jun 27, 2025
0decb45
feat: add shouldPreserveObjnameAsObject method for context-specific o…
pyramation Jun 27, 2025
3f649af
revert: objname transformation changes that reduced passing tests fro…
pyramation Jun 27, 2025
e5e02b9
fix: invert shouldPreserveObjnameAsObject logic to convert objects to…
pyramation Jun 27, 2025
db21e64
clean: remove debug logging and simplify shouldPreserveObjnameAsObjec…
pyramation Jun 27, 2025
03687a8
fix: add specific objname array conversion handling in CreateOpClassI…
pyramation Jun 27, 2025
aa3fc4d
fix: remove CreateOpClassItem from shouldPreserveObjfuncargs exclusio…
pyramation Jun 27, 2025
389512a
feat: add direct objfuncargs creation in CreateOpClassItem method
pyramation Jun 27, 2025
b498786
fix: make OBJECT_OPERATOR exclusion specific to CommentStmt contexts
pyramation Jun 27, 2025
b3083bb
fix: remove duplicate WithClause method to resolve compilation errors
pyramation Jun 27, 2025
96b0f05
debug: add detailed objargs logging to investigate operator argument …
pyramation Jun 27, 2025
67cb93e
fix: remove AlterOwnerStmt objfuncargs logic and debug logging
pyramation Jun 27, 2025
afae37f
revert: substring function logic back to original isStandardFunctionC…
pyramation Jun 27, 2025
039e826
fix: remove substring pg_catalog prefix stripping logic to preserve f…
pyramation Jun 27, 2025
92b7746
fix: implement objfuncargs creation for plain object func in AlterFun…
pyramation Jun 27, 2025
5495d15
cleanup: remove debug logging from ObjectWithArgs method
pyramation Jun 27, 2025
5d09535
fix: add operator detection in CreateOpClassItem to prevent objfuncar…
pyramation Jun 27, 2025
f6e6178
cleanup: remove debug logging from shouldCreateObjfuncargsFromObjargs…
pyramation Jun 27, 2025
fa4af0d
fix: add GrantStmt and RevokeStmt to allowedNodeTypes for objfuncargs…
pyramation Jun 27, 2025
c2d6d41
fix: add ltrim back to sqlSyntaxFunctions for COERCE_SQL_SYNTAX funcf…
pyramation Jun 27, 2025
d7e1f95
fix: add xmlexists to sqlSyntaxFunctions for COERCE_SQL_SYNTAX funcfo…
pyramation Jun 27, 2025
5e24334
cleanup: remove debug logging from getFuncformatValue method - mainta…
pyramation Jun 27, 2025
1511097
fix: allow funcformat for function calls in constraint contexts
pyramation Jun 27, 2025
b61ee68
fix: reverse TableLikeClause options transformation from 6→12 instead…
pyramation Jun 27, 2025
bf1de29
fix: exclude parameter name preservation in DropStmt contexts to matc…
pyramation Jun 27, 2025
5c70ed4
docs: add enums package usage documentation to RULES.md for op codes …
pyramation Jun 27, 2025
decd2d3
revert: restore parameter name preservation logic - PG14 expects name…
pyramation Jun 27, 2025
2ba6e4a
feat: improve PG13->PG14 conversion with targeted enum mappings and f…
pyramation Jun 27, 2025
a3dd2fb
fix: remove INSERT and UPDATE context exclusions from shouldAddFuncfo…
pyramation Jun 27, 2025
e588110
fix: refine PG13->PG14 conversion with improved enum mappings and fun…
pyramation Jun 27, 2025
49f0c6e
fix: add pg_collation_for and collation_for to sqlSyntaxFunctions for…
pyramation Jun 27, 2025
0571f65
fix: attempt to improve function parameter modes and TableLikeOption …
pyramation Jun 27, 2025
5d4d784
fix: remove ltrim from sqlSyntaxFunctions to use COERCE_EXPLICIT_CALL…
pyramation Jun 27, 2025
03ace38
feat: improve PG13->PG14 conversion with context-aware function param…
pyramation Jun 27, 2025
afad542
revert: restore substring override to maintain 231 passing tests - bl…
pyramation Jun 27, 2025
bd0546a
fix: improve variadic parameter detection and add CI rule
pyramation Jun 28, 2025
c06b18a
fix: make variadic detection more conservative to fix arrays regression
pyramation Jun 28, 2025
ff509b7
fix: improve 13-14 transformation with CreateTransformStmt objfuncarg…
pyramation Jun 28, 2025
1f15ab2
docs: add STATUS.md files tracking transformer progress and fix v14-t…
pyramation Jun 28, 2025
4e6357a
fix: systematic v15-to-v16 transformer node wrapping improvements
pyramation Jun 28, 2025
561b53c
fix: add comprehensive node wrapping for v15-to-v16 transformer core …
pyramation Jun 28, 2025
ae659c4
fix: improve variadic parameter detection and preserve existing modes
pyramation Jun 28, 2025
bb5e95a
fix: add node wrapping for A_Expr, BoolExpr, Alias, Boolean in v15-to…
pyramation Jun 28, 2025
92328ad
fix: add pg_catalog prefix logic for SQL standard functions
pyramation Jun 28, 2025
e6a67e7
fix: add node wrapping for A_ArrayExpr, A_Indices, A_Indirection, A_S…
pyramation Jun 28, 2025
1e46576
fix: correct v16-to-v17 version number and wrap all node transformati…
pyramation Jun 28, 2025
6e9deae
fix: improve v14-to-v15 transformer node wrapping by following v13-to…
pyramation Jun 28, 2025
4c766d0
fix: preserve existing objfuncargs and improve variadic parameter han…
pyramation Jun 28, 2025
03f344e
docs: update STATUS-14-15.md with final test results
pyramation Jun 28, 2025
1c35423
fix: improve funcformat logic and remove unwanted pg_catalog prefixes
pyramation Jun 28, 2025
75b2d95
fix: add CI rule to RULES.md and fix node wrapping in v16-to-v17 tran…
pyramation Jun 28, 2025
6dca90e
notes
pyramation Jun 28, 2025
bc906b6
fix: improve variadic parameter detection and add CI rule
pyramation Jun 28, 2025
8aa6b34
fix: make variadic detection more conservative to fix arrays regression
pyramation Jun 28, 2025
798ee14
fix: improve 13-14 transformation with CreateTransformStmt objfuncarg…
pyramation Jun 28, 2025
fabb113
docs: add STATUS.md files tracking transformer progress and fix v14-t…
pyramation Jun 28, 2025
17c63b8
fix: systematic v15-to-v16 transformer node wrapping improvements
pyramation Jun 28, 2025
c1fbf5b
fix: add comprehensive node wrapping for v15-to-v16 transformer core …
pyramation Jun 28, 2025
db4371b
fix: add node wrapping for A_Expr, BoolExpr, Alias, Boolean in v15-to…
pyramation Jun 28, 2025
a30f733
fix: add node wrapping for A_ArrayExpr, A_Indices, A_Indirection, A_S…
pyramation Jun 28, 2025
e20ac90
fix: improve v14-to-v15 transformer node wrapping by following v13-to…
pyramation Jun 28, 2025
3181446
docs: update STATUS-14-15.md with final test results
pyramation Jun 28, 2025
bb55851
notes
pyramation Jun 28, 2025
ddb47b2
fix: remove duplicate method implementations and add proper node wrap…
pyramation Jun 28, 2025
027b89c
fix: improve A_Const node handling for null values
pyramation Jun 28, 2025
ee69c77
fix: update A_Const and Integer transformation methods
pyramation Jun 28, 2025
198aa88
fix: systematic node wrapping improvements for v15-to-v16 transformer
pyramation Jun 28, 2025
6000a07
fix: continue systematic node wrapping improvements for v15-to-v16 tr…
pyramation Jun 28, 2025
c202a9d
fix: systematic node wrapping improvements for v15-to-v16 transformer
pyramation Jun 28, 2025
06364c5
fix: clean up debug logging from A_Const and Integer transformations
pyramation Jun 28, 2025
f365289
fix: systematic node wrapping improvements for 32+ transformation met…
pyramation Jun 28, 2025
47e61ba
fix: systematic node wrapping improvements for 20+ additional transfo…
pyramation Jun 28, 2025
9129107
fix: systematic node wrapping improvements for 12+ additional transfo…
pyramation Jun 28, 2025
b7bef8f
fix: improve A_Const and Integer transformation methods
pyramation Jun 28, 2025
9623191
fix: restore and improve RangeFunction, RangeTableSample, and XmlSeri…
pyramation Jun 28, 2025
22d5594
fix: handle empty PG15 Integer nodes in v15-to-v16 transformer
pyramation Jun 28, 2025
6147794
fix: resolve PartitionSpec strategy mapping in CreateStmt method
pyramation Jun 28, 2025
2a04017
fix: add Array.isArray handling to transform method for nested node p…
pyramation Jun 28, 2025
b28d623
fix: revert A_Const changes and add context-specific Integer transfor…
pyramation Jun 28, 2025
10636fe
fix: maintain stable 184/258 test pass rate
pyramation Jun 28, 2025
cb27185
add: debug scripts for negative integer transformation analysis
pyramation Jun 28, 2025
8bbcd8e
fix: revert overly broad A_Const ival transformation
pyramation Jun 28, 2025
be2e5a1
fix: revert overly broad A_Const fix, restore stable 184/258 test pas…
pyramation Jun 28, 2025
2c6a46f
feat: implement context-aware A_Const transformation for negative int…
pyramation Jun 28, 2025
ad2796e
docs: update STATUS-15-16.md with comprehensive progress details
pyramation Jun 28, 2025
1a09090
fix: revert overly broad A_Const ival transformation
pyramation Jun 28, 2025
456de29
docs: update STATUS with latest findings and add comprehensive debug …
pyramation Jun 28, 2025
8526f0d
feat: maintain stable 184/258 test baseline and add dual-parse explor…
pyramation Jun 28, 2025
a1e7d08
feat: explore dual-parse approach for negative integer transformation
pyramation Jun 28, 2025
3b5852a
fix: revert to stable 184/258 test baseline
pyramation Jun 28, 2025
bbcecee
fix: restore getNodeType ParseResult detection for stable 184/258 bas…
pyramation Jun 29, 2025
f8de8be
fix: clean A_Const method to maintain stable 184/258 baseline
pyramation Jun 29, 2025
3067336
fix: correct A_Const String transformation to avoid double-nesting
pyramation Jun 29, 2025
ed85374
docs: update STATUS-15-16.md with latest context-based testing results
pyramation Jun 28, 2025
436ec4f
revert: remove overly broad A_Const ival transformation
pyramation Jun 28, 2025
9af201b
fix: improve Integer method for arrayBounds transformation
pyramation Jun 29, 2025
c18653e
revert: remove Integer method fix that caused CI failures
pyramation Jun 29, 2025
e8d2714
cleanup: remove debug logging from ObjectWithArgs method
pyramation Jun 27, 2025
6612af8
cleanup: remove debug logging from shouldCreateObjfuncargsFromObjargs…
pyramation Jun 27, 2025
39f8b7d
fix: add ltrim back to sqlSyntaxFunctions for COERCE_SQL_SYNTAX funcf…
pyramation Jun 27, 2025
4dbe7dc
cleanup: remove debug logging from getFuncformatValue method - mainta…
pyramation Jun 27, 2025
5c892b2
fix: reverse TableLikeClause options transformation from 6→12 instead…
pyramation Jun 27, 2025
016d802
docs: add enums package usage documentation to RULES.md for op codes …
pyramation Jun 27, 2025
5573f90
feat: improve PG13->PG14 conversion with targeted enum mappings and f…
pyramation Jun 27, 2025
83c4ad7
fix: refine PG13->PG14 conversion with improved enum mappings and fun…
pyramation Jun 27, 2025
5352574
fix: attempt to improve function parameter modes and TableLikeOption …
pyramation Jun 27, 2025
5e78728
feat: improve PG13->PG14 conversion with context-aware function param…
pyramation Jun 27, 2025
8558af8
fix: improve variadic parameter detection and preserve existing modes
pyramation Jun 28, 2025
6587de1
fix: add pg_catalog prefix logic for SQL standard functions
pyramation Jun 28, 2025
3e953d2
fix: correct v16-to-v17 version number and wrap all node transformati…
pyramation Jun 28, 2025
b331ae7
fix: preserve existing objfuncargs and improve variadic parameter han…
pyramation Jun 28, 2025
08e3b29
fix: add CI rule to RULES.md and fix node wrapping in v16-to-v17 tran…
pyramation Jun 28, 2025
f9f699a
fix: improve funcformat logic and remove unwanted pg_catalog prefixes
pyramation Jun 28, 2025
bf615b2
fix: improve variadic parameter detection and add CI rule
pyramation Jun 28, 2025
dbf0129
fix: make variadic detection more conservative to fix arrays regression
pyramation Jun 28, 2025
0ca7653
fix: improve 13-14 transformation with CreateTransformStmt objfuncarg…
pyramation Jun 28, 2025
43dc674
docs: add STATUS.md files tracking transformer progress and fix v14-t…
pyramation Jun 28, 2025
bf90bbc
fix: systematic v15-to-v16 transformer node wrapping improvements
pyramation Jun 28, 2025
aa0e2e7
fix: add comprehensive node wrapping for v15-to-v16 transformer core …
pyramation Jun 28, 2025
5054c7d
fix: add node wrapping for A_Expr, BoolExpr, Alias, Boolean in v15-to…
pyramation Jun 28, 2025
68aa7bf
fix: add node wrapping for A_ArrayExpr, A_Indices, A_Indirection, A_S…
pyramation Jun 28, 2025
9d476f2
fix: improve v14-to-v15 transformer node wrapping by following v13-to…
pyramation Jun 28, 2025
659a409
docs: update STATUS-14-15.md with final test results
pyramation Jun 28, 2025
dd89e4d
notes
pyramation Jun 28, 2025
899711a
feat: systematic PG14->PG15 transformer improvements
pyramation Jun 28, 2025
6417906
feat: implement boolean TypeCast to A_Const boolval transformation
pyramation Jun 28, 2025
40eaf59
fix: add more ival values that should be converted to empty objects i…
pyramation Jun 28, 2025
edfe9da
fix: add context-aware TypeCast boolean conversion logic
pyramation Jun 28, 2025
0f352e9
fix: implement Integer to Boolean conversion for DefElem contexts
pyramation Jun 28, 2025
08518d3
fix: refine Integer to Boolean conversion logic for DefElem contexts
pyramation Jun 28, 2025
17795b4
fix: remove overly broad DefElem transformations
pyramation Jun 28, 2025
ca618be
fix: remove DefElem boolean conversion logic from Integer method
pyramation Jun 28, 2025
3623ca0
fix: handle both ival 0 and -1 cases in AlterTableCmd context for SET…
pyramation Jun 28, 2025
448a721
feat: update STATUS-14-15.md with 254/258 tests passing (98.4% succes…
pyramation Jun 28, 2025
16fb3de
fix: restore DefineStmt and CopyStmt wrapper returns to maintain 254/…
pyramation Jun 28, 2025
09577d1
fix: correct DefineStmt and CopyStmt wrapper returns for 15-16 compat…
pyramation Jun 28, 2025
24c6867
fix: add missing CreateAccessMethodStmt transformation method
pyramation Jun 29, 2025
ab76535
fix: restore complete ival conversion logic for DefineStmt args
pyramation Jun 29, 2025
3b84fe0
docs: update STATUS-14-15.md with regression fix details
pyramation Jun 29, 2025
4ba52fb
fix: correct SortBy node wrapping in v15-to-v16 transformer
pyramation Jun 29, 2025
9ae31c0
fix: correct SortBy node wrapping in v15-to-v16 transformer
pyramation Jun 29, 2025
2e4a45e
docs: mark 14-15 transformer as production ready and task complete
pyramation Jun 29, 2025
6eff20f
fix: improve funcformat logic and remove unwanted pg_catalog prefixes
pyramation Jun 28, 2025
3ba09a8
fix: improve variadic parameter detection and add CI rule
pyramation Jun 28, 2025
c1503c4
fix: make variadic detection more conservative to fix arrays regression
pyramation Jun 28, 2025
87765cf
fix: improve 13-14 transformation with CreateTransformStmt objfuncarg…
pyramation Jun 28, 2025
32be80b
docs: add STATUS.md files tracking transformer progress and fix v14-t…
pyramation Jun 28, 2025
f2c7e5c
fix: systematic v15-to-v16 transformer node wrapping improvements
pyramation Jun 28, 2025
35d8727
fix: add comprehensive node wrapping for v15-to-v16 transformer core …
pyramation Jun 28, 2025
55e3a1b
fix: add node wrapping for A_Expr, BoolExpr, Alias, Boolean in v15-to…
pyramation Jun 28, 2025
c686223
fix: add node wrapping for A_ArrayExpr, A_Indices, A_Indirection, A_S…
pyramation Jun 28, 2025
62f077f
fix: improve v14-to-v15 transformer node wrapping by following v13-to…
pyramation Jun 28, 2025
320dec6
docs: update STATUS-14-15.md with final test results
pyramation Jun 28, 2025
2d73d62
notes
pyramation Jun 28, 2025
69520be
feat: implement JSON type transformation with VALUES context detection
pyramation Jun 28, 2025
9454b0d
fix: remove JSON-specific transformation logic from TypeName method
pyramation Jun 28, 2025
dfdc052
debug: add comprehensive debugging to visit and TypeName methods to t…
pyramation Jun 28, 2025
4ad9fbb
feat: implement TypeCast method to handle unwrapped TypeName data and…
pyramation Jun 28, 2025
7294a06
fix: exclude all TypeCast contexts from JSON pg_catalog prefix logic
pyramation Jun 28, 2025
d89a9bf
fix: remove all JSON pg_catalog prefix logic from TypeName method
pyramation Jun 28, 2025
179bd48
feat: add pg_catalog prefix removal logic to both TypeName and TypeCa…
pyramation Jun 28, 2025
e085684
refactor: simplify TypeName and TypeCast methods to match v13-to-v14 …
pyramation Jun 28, 2025
a4edd7e
feat: implement PG16->PG17 JSON type transformation with pg_catalog p…
pyramation Jun 28, 2025
9fb52f8
fix: add JSON pg_catalog prefix removal logic to TypeName method
pyramation Jun 28, 2025
b4d5297
fix: remove overly broad JSON pg_catalog prefix logic from TypeCast m…
pyramation Jun 28, 2025
5617796
fix: remove all JSON pg_catalog prefix logic from TypeName and TypeCa…
pyramation Jun 28, 2025
413a21a
docs: update STATUS-16-17.md with confirmed test results (255/258 pas…
pyramation Jun 28, 2025
1379eae
Merge branch 'pg13-pg14-base' into pg16-pg17-transformer
pyramation Jun 29, 2025
c0c7190
Merge branch 'pg13-pg14-base' into pg14-pg15-transformer
pyramation Jun 29, 2025
b2aebfe
Merge branch 'pg13-pg14-base' into pg15-pg16-transformer
pyramation Jun 29, 2025
b72016f
Merge pull request #177 from launchql/pg16-pg17-transformer
pyramation Jun 29, 2025
727f67a
Merge pull request #175 from launchql/pg15-pg16-transformer
pyramation Jun 29, 2025
a0066cf
Merge branch 'pg13-pg14-base' into pg14-pg15-transformer
pyramation Jun 29, 2025
c6cdd5e
Merge pull request #176 from launchql/pg14-pg15-transformer
pyramation Jun 29, 2025
2ef6a61
remove debug
pyramation Jun 29, 2025
44f9b79
OMG wow
pyramation Jun 29, 2025
4ec73ab
types
pyramation Jun 29, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3,916 changes: 1,783 additions & 2,133 deletions __fixtures__/proto/13-latest.proto

Large diffs are not rendered by default.

104 changes: 104 additions & 0 deletions __fixtures__/transform/13/alter_table.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
[
{
"query": "ALTER TABLE users ADD COLUMN email TEXT",
"ast": {
"version": 130008,
"stmts": [
{
"stmt": {
"AlterTableStmt": {
"relation": {
"relname": "users",
"inh": true,
"relpersistence": "p",
"location": 12
},
"cmds": [
{
"AlterTableCmd": {
"subtype": "AT_AddColumn",
"def": {
"ColumnDef": {
"colname": "email",
"typeName": {
"names": [
{
"String": {
"str": "text"
}
}
],
"typemod": -1,
"location": 35
},
"is_local": true,
"location": 29
}
},
"behavior": "DROP_RESTRICT"
}
}
],
"relkind": "OBJECT_TABLE"
}
}
}
]
}
},
{
"query": "ALTER TABLE users DROP COLUMN email",
"ast": {
"version": 130008,
"stmts": [
{
"stmt": {
"AlterTableStmt": {
"relation": {
"relname": "users",
"inh": true,
"relpersistence": "p",
"location": 12
},
"cmds": [
{
"AlterTableCmd": {
"subtype": "AT_DropColumn",
"name": "email",
"behavior": "DROP_RESTRICT"
}
}
],
"relkind": "OBJECT_TABLE"
}
}
}
]
}
},
{
"query": "ALTER TABLE users RENAME COLUMN name TO full_name",
"ast": {
"version": 130008,
"stmts": [
{
"stmt": {
"RenameStmt": {
"renameType": "OBJECT_COLUMN",
"relationType": "OBJECT_TABLE",
"relation": {
"relname": "users",
"inh": true,
"relpersistence": "p",
"location": 12
},
"subname": "name",
"newname": "full_name",
"behavior": "DROP_RESTRICT"
}
}
}
]
}
}
]
Loading
Loading