@@ -1820,7 +1820,7 @@ export class V13ToV14Transformer {
18201820 const excludedNodeTypes = [
18211821 'CreateOpClassStmt' , 'CreateAggregateStmt' , 'AlterAggregateStmt' ,
18221822 'CreateFunctionStmt' , 'CreateStmt' , 'CreateTypeStmt' , 'CreateOpFamilyStmt' ,
1823- 'CreateOperatorStmt' , 'GrantStmt' , 'RevokeStmt'
1823+ 'CreateOperatorStmt'
18241824 ] ;
18251825
18261826 const path = context . path || [ ] ;
@@ -1874,6 +1874,7 @@ export class V13ToV14Transformer {
18741874 return false ;
18751875 }
18761876
1877+
18771878 // Check if this is an operator context - operators should NOT get objfuncargs
18781879 const path = context . path || [ ] ;
18791880
@@ -1912,7 +1913,7 @@ export class V13ToV14Transformer {
19121913 const excludedNodeTypes = [
19131914 'CreateOpClassStmt' , 'CreateAggregateStmt' , 'AlterAggregateStmt' ,
19141915 'CreateFunctionStmt' , 'CreateStmt' , 'CreateTypeStmt' , 'CreateOpFamilyStmt' ,
1915- 'CreateOperatorStmt' , 'GrantStmt' , 'RevokeStmt'
1916+ 'CreateOperatorStmt'
19161917 ] ;
19171918
19181919 for ( const node of path ) {
@@ -1931,7 +1932,7 @@ export class V13ToV14Transformer {
19311932 }
19321933
19331934 const allowedNodeTypes = [
1934- 'CommentStmt' , 'AlterFunctionStmt' , 'RenameStmt' , 'AlterOwnerStmt' , 'AlterObjectSchemaStmt' , 'CreateCastStmt' , 'AlterOpFamilyStmt' , 'CreateOpClassItem'
1935+ 'CommentStmt' , 'AlterFunctionStmt' , 'RenameStmt' , 'AlterOwnerStmt' , 'AlterObjectSchemaStmt' , 'CreateCastStmt' , 'AlterOpFamilyStmt' , 'CreateOpClassItem' , 'GrantStmt' , 'RevokeStmt'
19351936 ] ;
19361937
19371938 for ( const node of path ) {
0 commit comments