@pgsql/transform 17.6.2 → 17.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (104) hide show
  1. package/13/enum-to-int.d.ts +7 -0
  2. package/13/enum-to-int.js +2165 -0
  3. package/13/enum-to-str.d.ts +7 -0
  4. package/13/enum-to-str.js +2165 -0
  5. package/13/enums.d.ts +15 -22
  6. package/13/runtime-schema.d.ts +17 -0
  7. package/13/runtime-schema.js +8419 -0
  8. package/13/types.d.ts +1079 -1304
  9. package/14/enum-to-int.d.ts +7 -0
  10. package/14/enum-to-int.js +2205 -0
  11. package/14/enum-to-str.d.ts +7 -0
  12. package/14/enum-to-str.js +2205 -0
  13. package/14/enums.d.ts +62 -0
  14. package/14/enums.js +2 -0
  15. package/14/runtime-schema.d.ts +17 -0
  16. package/14/runtime-schema.js +8695 -0
  17. package/14/types.d.ts +2164 -0
  18. package/14/types.js +2 -0
  19. package/15/enum-to-int.d.ts +7 -0
  20. package/15/enum-to-int.js +2255 -0
  21. package/15/enum-to-str.d.ts +7 -0
  22. package/15/enum-to-str.js +2255 -0
  23. package/15/enums.d.ts +64 -0
  24. package/15/enums.js +2 -0
  25. package/15/runtime-schema.d.ts +17 -0
  26. package/15/runtime-schema.js +8955 -0
  27. package/15/types.d.ts +2222 -0
  28. package/15/types.js +2 -0
  29. package/16/enum-to-int.d.ts +7 -0
  30. package/16/enum-to-int.js +2344 -0
  31. package/16/enum-to-str.d.ts +7 -0
  32. package/16/enum-to-str.js +2344 -0
  33. package/16/enums.d.ts +69 -0
  34. package/16/enums.js +2 -0
  35. package/16/runtime-schema.d.ts +17 -0
  36. package/16/runtime-schema.js +9339 -0
  37. package/16/types.d.ts +2328 -0
  38. package/16/types.js +2 -0
  39. package/17/enum-to-int.d.ts +7 -0
  40. package/17/enum-to-int.js +2501 -0
  41. package/17/enum-to-str.d.ts +7 -0
  42. package/17/enum-to-str.js +2501 -0
  43. package/17/enums.d.ts +1 -1
  44. package/17/runtime-schema.d.ts +17 -0
  45. package/17/runtime-schema.js +10010 -0
  46. package/17/types.d.ts +1 -1
  47. package/esm/13/enum-to-int.js +2161 -0
  48. package/esm/13/enum-to-str.js +2161 -0
  49. package/esm/13/runtime-schema.js +8416 -0
  50. package/esm/14/enum-to-int.js +2201 -0
  51. package/esm/14/enum-to-str.js +2201 -0
  52. package/esm/14/enums.js +1 -0
  53. package/esm/14/runtime-schema.js +8692 -0
  54. package/esm/14/types.js +1 -0
  55. package/esm/15/enum-to-int.js +2251 -0
  56. package/esm/15/enum-to-str.js +2251 -0
  57. package/esm/15/enums.js +1 -0
  58. package/esm/15/runtime-schema.js +8952 -0
  59. package/esm/15/types.js +1 -0
  60. package/esm/16/enum-to-int.js +2340 -0
  61. package/esm/16/enum-to-str.js +2340 -0
  62. package/esm/16/enums.js +1 -0
  63. package/esm/16/runtime-schema.js +9336 -0
  64. package/esm/16/types.js +1 -0
  65. package/esm/17/enum-to-int.js +2497 -0
  66. package/esm/17/enum-to-str.js +2497 -0
  67. package/esm/17/runtime-schema.js +10007 -0
  68. package/esm/index.js +15 -1309
  69. package/esm/multi-version-transformer.js +60 -0
  70. package/esm/transformers/context.js +1 -0
  71. package/esm/transformers/v13-to-v14.js +2745 -0
  72. package/esm/transformers/v14-to-v15.js +1215 -0
  73. package/esm/transformers/v15-to-v16.js +2876 -0
  74. package/esm/transformers/v16-to-v17.js +1483 -0
  75. package/esm/transformers-direct/index.js +8 -0
  76. package/esm/transformers-direct/v13-to-v17/index.js +74 -0
  77. package/esm/transformers-direct/v14-to-v17/index.js +63 -0
  78. package/esm/transformers-direct/v15-to-v17/index.js +53 -0
  79. package/esm/transformers-direct/v16-to-v17/index.js +40 -0
  80. package/index.d.ts +18 -5
  81. package/index.js +29 -1311
  82. package/multi-version-transformer.d.ts +9 -0
  83. package/multi-version-transformer.js +64 -0
  84. package/package.json +8 -4
  85. package/transformers/context.d.ts +4 -0
  86. package/transformers/context.js +2 -0
  87. package/transformers/v13-to-v14.d.ts +252 -0
  88. package/transformers/v13-to-v14.js +2749 -0
  89. package/transformers/v14-to-v15.d.ts +615 -0
  90. package/transformers/v14-to-v15.js +1219 -0
  91. package/transformers/v15-to-v16.d.ts +626 -0
  92. package/transformers/v15-to-v16.js +2880 -0
  93. package/transformers/v16-to-v17.d.ts +637 -0
  94. package/transformers/v16-to-v17.js +1487 -0
  95. package/transformers-direct/index.d.ts +8 -0
  96. package/transformers-direct/index.js +15 -0
  97. package/transformers-direct/v13-to-v17/index.d.ts +27 -0
  98. package/transformers-direct/v13-to-v17/index.js +78 -0
  99. package/transformers-direct/v14-to-v17/index.d.ts +26 -0
  100. package/transformers-direct/v14-to-v17/index.js +67 -0
  101. package/transformers-direct/v15-to-v17/index.d.ts +25 -0
  102. package/transformers-direct/v15-to-v17/index.js +57 -0
  103. package/transformers-direct/v16-to-v17/index.d.ts +24 -0
  104. package/transformers-direct/v16-to-v17/index.js +44 -0
@@ -0,0 +1,637 @@
1
+ import * as PG16 from '../16/types';
2
+ import * as PG17 from '../17/types';
3
+ import { TransformerContext } from './context';
4
+ /**
5
+ * V16 to V17 AST Transformer
6
+ * Transforms PostgreSQL v16 AST nodes to v17 format
7
+ */
8
+ export declare class V16ToV17Transformer {
9
+ transform(node: PG16.Node, context?: TransformerContext): any;
10
+ visit(node: PG16.Node, context?: TransformerContext): any;
11
+ getNodeType(node: PG16.Node): any;
12
+ getNodeData(node: PG16.Node): any;
13
+ ParseResult(node: PG16.ParseResult, context: TransformerContext): PG17.ParseResult;
14
+ RawStmt(node: PG16.RawStmt, context: TransformerContext): {
15
+ RawStmt: PG17.RawStmt;
16
+ };
17
+ SelectStmt(node: PG16.SelectStmt, context: TransformerContext): {
18
+ SelectStmt: PG17.SelectStmt;
19
+ };
20
+ A_Expr(node: PG16.A_Expr, context: TransformerContext): {
21
+ A_Expr: PG17.A_Expr;
22
+ };
23
+ InsertStmt(node: PG16.InsertStmt, context: TransformerContext): {
24
+ InsertStmt: PG17.InsertStmt;
25
+ };
26
+ UpdateStmt(node: PG16.UpdateStmt, context: TransformerContext): {
27
+ UpdateStmt: PG17.UpdateStmt;
28
+ };
29
+ DeleteStmt(node: PG16.DeleteStmt, context: TransformerContext): {
30
+ DeleteStmt: PG17.DeleteStmt;
31
+ };
32
+ WithClause(node: PG16.WithClause, context: TransformerContext): {
33
+ WithClause: PG17.WithClause;
34
+ };
35
+ ResTarget(node: PG16.ResTarget, context: TransformerContext): {
36
+ ResTarget: PG17.ResTarget;
37
+ };
38
+ BoolExpr(node: PG16.BoolExpr, context: TransformerContext): {
39
+ BoolExpr: PG17.BoolExpr;
40
+ };
41
+ FuncCall(node: PG16.FuncCall, context: TransformerContext): {
42
+ FuncCall: PG17.FuncCall;
43
+ };
44
+ FuncExpr(node: PG16.FuncExpr, context: TransformerContext): {
45
+ FuncExpr: PG17.FuncExpr;
46
+ };
47
+ A_Const(node: PG16.A_Const, context: TransformerContext): {
48
+ A_Const: PG17.A_Const;
49
+ };
50
+ ColumnRef(node: PG16.ColumnRef, context: TransformerContext): {
51
+ ColumnRef: PG17.ColumnRef;
52
+ };
53
+ private isInCreateDomainContext;
54
+ private isInTypeCastContext;
55
+ private isInCreateTableContext;
56
+ private isInValuesContext;
57
+ private isInSimpleSelectTypeCastContext;
58
+ private shouldAddPgCatalogPrefix;
59
+ TypeName(node: PG16.TypeName, context: TransformerContext): {
60
+ TypeName: PG17.TypeName;
61
+ };
62
+ Alias(node: PG16.Alias, context: TransformerContext): {
63
+ Alias: PG17.Alias;
64
+ };
65
+ RangeVar(node: PG16.RangeVar, context: TransformerContext): {
66
+ RangeVar: PG17.RangeVar;
67
+ };
68
+ A_ArrayExpr(node: PG16.A_ArrayExpr, context: TransformerContext): {
69
+ A_ArrayExpr: PG17.A_ArrayExpr;
70
+ };
71
+ A_Indices(node: PG16.A_Indices, context: TransformerContext): {
72
+ A_Indices: PG17.A_Indices;
73
+ };
74
+ A_Indirection(node: PG16.A_Indirection, context: TransformerContext): {
75
+ A_Indirection: PG17.A_Indirection;
76
+ };
77
+ A_Star(node: PG16.A_Star, context: TransformerContext): {
78
+ A_Star: PG17.A_Star;
79
+ };
80
+ CaseExpr(node: PG16.CaseExpr, context: TransformerContext): {
81
+ CaseExpr: PG17.CaseExpr;
82
+ };
83
+ CoalesceExpr(node: PG16.CoalesceExpr, context: TransformerContext): {
84
+ CoalesceExpr: PG17.CoalesceExpr;
85
+ };
86
+ TypeCast(node: PG16.TypeCast, context: TransformerContext): {
87
+ TypeCast: PG17.TypeCast;
88
+ };
89
+ CollateClause(node: PG16.CollateClause, context: TransformerContext): {
90
+ CollateClause: PG17.CollateClause;
91
+ };
92
+ BooleanTest(node: PG16.BooleanTest, context: TransformerContext): {
93
+ BooleanTest: PG17.BooleanTest;
94
+ };
95
+ NullTest(node: PG16.NullTest, context: TransformerContext): {
96
+ NullTest: PG17.NullTest;
97
+ };
98
+ String(node: PG16.String, context: TransformerContext): {
99
+ String: PG17.String;
100
+ };
101
+ Integer(node: PG16.Integer, context: TransformerContext): {
102
+ Integer: PG17.Integer;
103
+ };
104
+ Float(node: PG16.Float, context: TransformerContext): {
105
+ Float: PG17.Float;
106
+ };
107
+ Boolean(node: PG16.Boolean, context: TransformerContext): {
108
+ Boolean: PG17.Boolean;
109
+ };
110
+ BitString(node: PG16.BitString, context: TransformerContext): {
111
+ BitString: PG17.BitString;
112
+ };
113
+ Null(node: any, context: TransformerContext): any;
114
+ List(node: PG16.List, context: TransformerContext): {
115
+ List: PG17.List;
116
+ };
117
+ CreateStmt(node: PG16.CreateStmt, context: TransformerContext): {
118
+ CreateStmt: PG17.CreateStmt;
119
+ };
120
+ ColumnDef(node: PG16.ColumnDef, context: TransformerContext): {
121
+ ColumnDef: PG17.ColumnDef;
122
+ };
123
+ Constraint(node: PG16.Constraint, context: TransformerContext): {
124
+ Constraint: PG17.Constraint;
125
+ };
126
+ SubLink(node: PG16.SubLink, context: TransformerContext): {
127
+ SubLink: PG17.SubLink;
128
+ };
129
+ CaseWhen(node: PG16.CaseWhen, context: TransformerContext): {
130
+ CaseWhen: PG17.CaseWhen;
131
+ };
132
+ WindowDef(node: PG16.WindowDef, context: TransformerContext): {
133
+ WindowDef: PG17.WindowDef;
134
+ };
135
+ SortBy(node: PG16.SortBy, context: TransformerContext): {
136
+ SortBy: PG17.SortBy;
137
+ };
138
+ GroupingSet(node: PG16.GroupingSet, context: TransformerContext): {
139
+ GroupingSet: PG17.GroupingSet;
140
+ };
141
+ CommonTableExpr(node: PG16.CommonTableExpr, context: TransformerContext): {
142
+ CommonTableExpr: PG17.CommonTableExpr;
143
+ };
144
+ ParamRef(node: PG16.ParamRef, context: TransformerContext): {
145
+ ParamRef: PG17.ParamRef;
146
+ };
147
+ LockingClause(node: any, context: TransformerContext): {
148
+ LockingClause: any;
149
+ };
150
+ MinMaxExpr(node: PG16.MinMaxExpr, context: TransformerContext): {
151
+ MinMaxExpr: PG17.MinMaxExpr;
152
+ };
153
+ RowExpr(node: PG16.RowExpr, context: TransformerContext): {
154
+ RowExpr: PG17.RowExpr;
155
+ };
156
+ OpExpr(node: PG16.OpExpr, context: TransformerContext): {
157
+ OpExpr: PG17.OpExpr;
158
+ };
159
+ DistinctExpr(node: PG16.DistinctExpr, context: TransformerContext): {
160
+ DistinctExpr: PG17.DistinctExpr;
161
+ };
162
+ NullIfExpr(node: PG16.NullIfExpr, context: TransformerContext): {
163
+ NullIfExpr: PG17.NullIfExpr;
164
+ };
165
+ ScalarArrayOpExpr(node: PG16.ScalarArrayOpExpr, context: TransformerContext): {
166
+ ScalarArrayOpExpr: PG17.ScalarArrayOpExpr;
167
+ };
168
+ Aggref(node: PG16.Aggref, context: TransformerContext): {
169
+ Aggref: PG17.Aggref;
170
+ };
171
+ WindowFunc(node: PG16.WindowFunc, context: TransformerContext): {
172
+ WindowFunc: PG17.WindowFunc;
173
+ };
174
+ FieldSelect(node: PG16.FieldSelect, context: TransformerContext): {
175
+ FieldSelect: PG17.FieldSelect;
176
+ };
177
+ RelabelType(node: PG16.RelabelType, context: TransformerContext): {
178
+ RelabelType: PG17.RelabelType;
179
+ };
180
+ CoerceViaIO(node: PG16.CoerceViaIO, context: TransformerContext): {
181
+ CoerceViaIO: PG17.CoerceViaIO;
182
+ };
183
+ ArrayCoerceExpr(node: PG16.ArrayCoerceExpr, context: TransformerContext): {
184
+ ArrayCoerceExpr: PG17.ArrayCoerceExpr;
185
+ };
186
+ ConvertRowtypeExpr(node: PG16.ConvertRowtypeExpr, context: TransformerContext): {
187
+ ConvertRowtypeExpr: PG17.ConvertRowtypeExpr;
188
+ };
189
+ NamedArgExpr(node: PG16.NamedArgExpr, context: TransformerContext): {
190
+ NamedArgExpr: PG17.NamedArgExpr;
191
+ };
192
+ ViewStmt(node: PG16.ViewStmt, context: TransformerContext): {
193
+ ViewStmt: PG17.ViewStmt;
194
+ };
195
+ IndexStmt(node: PG16.IndexStmt, context: TransformerContext): {
196
+ IndexStmt: PG17.IndexStmt;
197
+ };
198
+ IndexElem(node: PG16.IndexElem, context: TransformerContext): {
199
+ IndexElem: PG17.IndexElem;
200
+ };
201
+ PartitionElem(node: PG16.PartitionElem, context: TransformerContext): {
202
+ PartitionElem: PG17.PartitionElem;
203
+ };
204
+ PartitionCmd(node: PG16.PartitionCmd, context: TransformerContext): {
205
+ PartitionCmd: PG17.PartitionCmd;
206
+ };
207
+ JoinExpr(node: PG16.JoinExpr, context: TransformerContext): {
208
+ JoinExpr: PG17.JoinExpr;
209
+ };
210
+ FromExpr(node: PG16.FromExpr, context: TransformerContext): {
211
+ FromExpr: PG17.FromExpr;
212
+ };
213
+ TransactionStmt(node: PG16.TransactionStmt, context: TransformerContext): {
214
+ TransactionStmt: PG17.TransactionStmt;
215
+ };
216
+ VariableSetStmt(node: PG16.VariableSetStmt, context: TransformerContext): {
217
+ VariableSetStmt: PG17.VariableSetStmt;
218
+ };
219
+ VariableShowStmt(node: PG16.VariableShowStmt, context: TransformerContext): {
220
+ VariableShowStmt: PG17.VariableShowStmt;
221
+ };
222
+ CreateSchemaStmt(node: PG16.CreateSchemaStmt, context: TransformerContext): {
223
+ CreateSchemaStmt: PG17.CreateSchemaStmt;
224
+ };
225
+ RoleSpec(node: PG16.RoleSpec, context: TransformerContext): {
226
+ RoleSpec: PG17.RoleSpec;
227
+ };
228
+ DropStmt(node: PG16.DropStmt, context: TransformerContext): {
229
+ DropStmt: PG17.DropStmt;
230
+ };
231
+ TruncateStmt(node: PG16.TruncateStmt, context: TransformerContext): {
232
+ TruncateStmt: PG17.TruncateStmt;
233
+ };
234
+ ReturnStmt(node: PG16.ReturnStmt, context: TransformerContext): {
235
+ ReturnStmt: PG17.ReturnStmt;
236
+ };
237
+ PLAssignStmt(node: PG16.PLAssignStmt, context: TransformerContext): {
238
+ PLAssignStmt: PG17.PLAssignStmt;
239
+ };
240
+ CopyStmt(node: PG16.CopyStmt, context: TransformerContext): {
241
+ CopyStmt: PG17.CopyStmt;
242
+ };
243
+ AlterTableStmt(node: PG16.AlterTableStmt, context: TransformerContext): {
244
+ AlterTableStmt: PG17.AlterTableStmt;
245
+ };
246
+ AlterTableCmd(node: PG16.AlterTableCmd, context: TransformerContext): {
247
+ AlterTableCmd: PG17.AlterTableCmd;
248
+ };
249
+ CreateFunctionStmt(node: PG16.CreateFunctionStmt, context: TransformerContext): {
250
+ CreateFunctionStmt: PG17.CreateFunctionStmt;
251
+ };
252
+ FunctionParameter(node: PG16.FunctionParameter, context: TransformerContext): {
253
+ FunctionParameter: PG17.FunctionParameter;
254
+ };
255
+ CreateEnumStmt(node: PG16.CreateEnumStmt, context: TransformerContext): {
256
+ CreateEnumStmt: PG17.CreateEnumStmt;
257
+ };
258
+ CreateDomainStmt(node: PG16.CreateDomainStmt, context: TransformerContext): {
259
+ CreateDomainStmt: PG17.CreateDomainStmt;
260
+ };
261
+ CreateRoleStmt(node: PG16.CreateRoleStmt, context: TransformerContext): {
262
+ CreateRoleStmt: PG17.CreateRoleStmt;
263
+ };
264
+ DefElem(node: PG16.DefElem, context: TransformerContext): {
265
+ DefElem: PG17.DefElem;
266
+ };
267
+ CreateTableSpaceStmt(node: PG16.CreateTableSpaceStmt, context: TransformerContext): {
268
+ CreateTableSpaceStmt: PG17.CreateTableSpaceStmt;
269
+ };
270
+ DropTableSpaceStmt(node: PG16.DropTableSpaceStmt, context: TransformerContext): {
271
+ DropTableSpaceStmt: PG17.DropTableSpaceStmt;
272
+ };
273
+ AlterTableSpaceOptionsStmt(node: PG16.AlterTableSpaceOptionsStmt, context: TransformerContext): {
274
+ AlterTableSpaceOptionsStmt: PG17.AlterTableSpaceOptionsStmt;
275
+ };
276
+ CreateExtensionStmt(node: PG16.CreateExtensionStmt, context: TransformerContext): {
277
+ CreateExtensionStmt: PG17.CreateExtensionStmt;
278
+ };
279
+ AlterExtensionStmt(node: PG16.AlterExtensionStmt, context: TransformerContext): {
280
+ AlterExtensionStmt: PG17.AlterExtensionStmt;
281
+ };
282
+ CreateFdwStmt(node: PG16.CreateFdwStmt, context: TransformerContext): {
283
+ CreateFdwStmt: PG17.CreateFdwStmt;
284
+ };
285
+ SetOperationStmt(node: PG16.SetOperationStmt, context: TransformerContext): {
286
+ SetOperationStmt: PG17.SetOperationStmt;
287
+ };
288
+ ReplicaIdentityStmt(node: PG16.ReplicaIdentityStmt, context: TransformerContext): {
289
+ ReplicaIdentityStmt: PG17.ReplicaIdentityStmt;
290
+ };
291
+ AlterCollationStmt(node: PG16.AlterCollationStmt, context: TransformerContext): {
292
+ AlterCollationStmt: PG17.AlterCollationStmt;
293
+ };
294
+ AlterDomainStmt(node: PG16.AlterDomainStmt, context: TransformerContext): {
295
+ AlterDomainStmt: PG17.AlterDomainStmt;
296
+ };
297
+ PrepareStmt(node: PG16.PrepareStmt, context: TransformerContext): {
298
+ PrepareStmt: PG17.PrepareStmt;
299
+ };
300
+ ExecuteStmt(node: PG16.ExecuteStmt, context: TransformerContext): {
301
+ ExecuteStmt: PG17.ExecuteStmt;
302
+ };
303
+ DeallocateStmt(node: PG16.DeallocateStmt, context: TransformerContext): {
304
+ DeallocateStmt: PG17.DeallocateStmt;
305
+ };
306
+ NotifyStmt(node: PG16.NotifyStmt, context: TransformerContext): {
307
+ NotifyStmt: PG17.NotifyStmt;
308
+ };
309
+ ListenStmt(node: PG16.ListenStmt, context: TransformerContext): {
310
+ ListenStmt: PG17.ListenStmt;
311
+ };
312
+ UnlistenStmt(node: PG16.UnlistenStmt, context: TransformerContext): {
313
+ UnlistenStmt: PG17.UnlistenStmt;
314
+ };
315
+ CheckPointStmt(node: PG16.CheckPointStmt, context: TransformerContext): {
316
+ CheckPointStmt: PG17.CheckPointStmt;
317
+ };
318
+ LoadStmt(node: PG16.LoadStmt, context: TransformerContext): {
319
+ LoadStmt: PG17.LoadStmt;
320
+ };
321
+ DiscardStmt(node: PG16.DiscardStmt, context: TransformerContext): {
322
+ DiscardStmt: PG17.DiscardStmt;
323
+ };
324
+ CommentStmt(node: PG16.CommentStmt, context: TransformerContext): {
325
+ CommentStmt: PG17.CommentStmt;
326
+ };
327
+ LockStmt(node: PG16.LockStmt, context: TransformerContext): {
328
+ LockStmt: PG17.LockStmt;
329
+ };
330
+ CreatePolicyStmt(node: PG16.CreatePolicyStmt, context: TransformerContext): {
331
+ CreatePolicyStmt: PG17.CreatePolicyStmt;
332
+ };
333
+ AlterPolicyStmt(node: PG16.AlterPolicyStmt, context: TransformerContext): {
334
+ AlterPolicyStmt: PG17.AlterPolicyStmt;
335
+ };
336
+ CreateUserMappingStmt(node: PG16.CreateUserMappingStmt, context: TransformerContext): {
337
+ CreateUserMappingStmt: PG17.CreateUserMappingStmt;
338
+ };
339
+ CreateStatsStmt(node: PG16.CreateStatsStmt, context: TransformerContext): {
340
+ CreateStatsStmt: PG17.CreateStatsStmt;
341
+ };
342
+ StatsElem(node: PG16.StatsElem, context: TransformerContext): {
343
+ StatsElem: PG17.StatsElem;
344
+ };
345
+ CreatePublicationStmt(node: PG16.CreatePublicationStmt, context: TransformerContext): {
346
+ CreatePublicationStmt: PG17.CreatePublicationStmt;
347
+ };
348
+ CreateSubscriptionStmt(node: PG16.CreateSubscriptionStmt, context: TransformerContext): {
349
+ CreateSubscriptionStmt: PG17.CreateSubscriptionStmt;
350
+ };
351
+ AlterPublicationStmt(node: PG16.AlterPublicationStmt, context: TransformerContext): {
352
+ AlterPublicationStmt: PG17.AlterPublicationStmt;
353
+ };
354
+ AlterSubscriptionStmt(node: PG16.AlterSubscriptionStmt, context: TransformerContext): {
355
+ AlterSubscriptionStmt: PG17.AlterSubscriptionStmt;
356
+ };
357
+ DropSubscriptionStmt(node: PG16.DropSubscriptionStmt, context: TransformerContext): {
358
+ DropSubscriptionStmt: PG17.DropSubscriptionStmt;
359
+ };
360
+ DoStmt(node: PG16.DoStmt, context: TransformerContext): {
361
+ DoStmt: PG17.DoStmt;
362
+ };
363
+ InlineCodeBlock(node: PG16.InlineCodeBlock, context: TransformerContext): {
364
+ InlineCodeBlock: PG17.InlineCodeBlock;
365
+ };
366
+ CallContext(node: PG16.CallContext, context: TransformerContext): {
367
+ CallContext: PG17.CallContext;
368
+ };
369
+ ConstraintsSetStmt(node: PG16.ConstraintsSetStmt, context: TransformerContext): {
370
+ ConstraintsSetStmt: PG17.ConstraintsSetStmt;
371
+ };
372
+ AlterSystemStmt(node: PG16.AlterSystemStmt, context: TransformerContext): {
373
+ AlterSystemStmt: PG17.AlterSystemStmt;
374
+ };
375
+ VacuumRelation(node: PG16.VacuumRelation, context: TransformerContext): {
376
+ VacuumRelation: PG17.VacuumRelation;
377
+ };
378
+ DropOwnedStmt(node: PG16.DropOwnedStmt, context: TransformerContext): {
379
+ DropOwnedStmt: PG17.DropOwnedStmt;
380
+ };
381
+ ReassignOwnedStmt(node: PG16.ReassignOwnedStmt, context: TransformerContext): {
382
+ ReassignOwnedStmt: PG17.ReassignOwnedStmt;
383
+ };
384
+ AlterTSDictionaryStmt(node: PG16.AlterTSDictionaryStmt, context: TransformerContext): {
385
+ AlterTSDictionaryStmt: PG17.AlterTSDictionaryStmt;
386
+ };
387
+ AlterTSConfigurationStmt(node: PG16.AlterTSConfigurationStmt, context: TransformerContext): {
388
+ AlterTSConfigurationStmt: PG17.AlterTSConfigurationStmt;
389
+ };
390
+ ClosePortalStmt(node: PG16.ClosePortalStmt, context: TransformerContext): {
391
+ ClosePortalStmt: PG17.ClosePortalStmt;
392
+ };
393
+ FetchStmt(node: PG16.FetchStmt, context: TransformerContext): {
394
+ FetchStmt: PG17.FetchStmt;
395
+ };
396
+ AlterStatsStmt(node: PG16.AlterStatsStmt, context: TransformerContext): {
397
+ AlterStatsStmt: PG17.AlterStatsStmt;
398
+ };
399
+ ObjectWithArgs(node: PG16.ObjectWithArgs, context: TransformerContext): {
400
+ ObjectWithArgs: PG17.ObjectWithArgs;
401
+ };
402
+ AlterOperatorStmt(node: PG16.AlterOperatorStmt, context: TransformerContext): {
403
+ AlterOperatorStmt: PG17.AlterOperatorStmt;
404
+ };
405
+ AlterFdwStmt(node: PG16.AlterFdwStmt, context: TransformerContext): {
406
+ AlterFdwStmt: PG17.AlterFdwStmt;
407
+ };
408
+ CreateForeignServerStmt(node: PG16.CreateForeignServerStmt, context: TransformerContext): {
409
+ CreateForeignServerStmt: PG17.CreateForeignServerStmt;
410
+ };
411
+ AlterForeignServerStmt(node: PG16.AlterForeignServerStmt, context: TransformerContext): {
412
+ AlterForeignServerStmt: PG17.AlterForeignServerStmt;
413
+ };
414
+ AlterUserMappingStmt(node: PG16.AlterUserMappingStmt, context: TransformerContext): {
415
+ AlterUserMappingStmt: PG17.AlterUserMappingStmt;
416
+ };
417
+ DropUserMappingStmt(node: PG16.DropUserMappingStmt, context: TransformerContext): {
418
+ DropUserMappingStmt: PG17.DropUserMappingStmt;
419
+ };
420
+ ImportForeignSchemaStmt(node: PG16.ImportForeignSchemaStmt, context: TransformerContext): {
421
+ ImportForeignSchemaStmt: PG17.ImportForeignSchemaStmt;
422
+ };
423
+ ClusterStmt(node: PG16.ClusterStmt, context: TransformerContext): {
424
+ ClusterStmt: PG17.ClusterStmt;
425
+ };
426
+ VacuumStmt(node: PG16.VacuumStmt, context: TransformerContext): {
427
+ VacuumStmt: PG17.VacuumStmt;
428
+ };
429
+ ExplainStmt(node: PG16.ExplainStmt, context: TransformerContext): {
430
+ ExplainStmt: PG17.ExplainStmt;
431
+ };
432
+ ReindexStmt(node: PG16.ReindexStmt, context: TransformerContext): {
433
+ ReindexStmt: PG17.ReindexStmt;
434
+ };
435
+ CallStmt(node: PG16.CallStmt, context: TransformerContext): {
436
+ CallStmt: PG17.CallStmt;
437
+ };
438
+ CreatedbStmt(node: PG16.CreatedbStmt, context: TransformerContext): {
439
+ CreatedbStmt: PG17.CreatedbStmt;
440
+ };
441
+ DropdbStmt(node: PG16.DropdbStmt, context: TransformerContext): {
442
+ DropdbStmt: PG17.DropdbStmt;
443
+ };
444
+ RenameStmt(node: PG16.RenameStmt, context: TransformerContext): {
445
+ RenameStmt: PG17.RenameStmt;
446
+ };
447
+ AlterOwnerStmt(node: PG16.AlterOwnerStmt, context: TransformerContext): {
448
+ AlterOwnerStmt: PG17.AlterOwnerStmt;
449
+ };
450
+ GrantStmt(node: PG16.GrantStmt, context: TransformerContext): {
451
+ GrantStmt: PG17.GrantStmt;
452
+ };
453
+ GrantRoleStmt(node: PG16.GrantRoleStmt, context: TransformerContext): {
454
+ GrantRoleStmt: PG17.GrantRoleStmt;
455
+ };
456
+ SecLabelStmt(node: PG16.SecLabelStmt, context: TransformerContext): {
457
+ SecLabelStmt: PG17.SecLabelStmt;
458
+ };
459
+ AlterDefaultPrivilegesStmt(node: PG16.AlterDefaultPrivilegesStmt, context: TransformerContext): {
460
+ AlterDefaultPrivilegesStmt: PG17.AlterDefaultPrivilegesStmt;
461
+ };
462
+ CreateConversionStmt(node: PG16.CreateConversionStmt, context: TransformerContext): {
463
+ CreateConversionStmt: PG17.CreateConversionStmt;
464
+ };
465
+ CreateCastStmt(node: PG16.CreateCastStmt, context: TransformerContext): {
466
+ CreateCastStmt: PG17.CreateCastStmt;
467
+ };
468
+ CreatePLangStmt(node: PG16.CreatePLangStmt, context: TransformerContext): {
469
+ CreatePLangStmt: PG17.CreatePLangStmt;
470
+ };
471
+ CreateTransformStmt(node: PG16.CreateTransformStmt, context: TransformerContext): {
472
+ CreateTransformStmt: PG17.CreateTransformStmt;
473
+ };
474
+ CreateTrigStmt(node: PG16.CreateTrigStmt, context: TransformerContext): {
475
+ CreateTrigStmt: PG17.CreateTrigStmt;
476
+ };
477
+ TriggerTransition(node: PG16.TriggerTransition, context: TransformerContext): {
478
+ TriggerTransition: PG17.TriggerTransition;
479
+ };
480
+ CreateEventTrigStmt(node: PG16.CreateEventTrigStmt, context: TransformerContext): {
481
+ CreateEventTrigStmt: PG17.CreateEventTrigStmt;
482
+ };
483
+ AlterEventTrigStmt(node: PG16.AlterEventTrigStmt, context: TransformerContext): {
484
+ AlterEventTrigStmt: PG17.AlterEventTrigStmt;
485
+ };
486
+ CreateOpClassStmt(node: PG16.CreateOpClassStmt, context: TransformerContext): {
487
+ CreateOpClassStmt: PG17.CreateOpClassStmt;
488
+ };
489
+ CreateOpFamilyStmt(node: PG16.CreateOpFamilyStmt, context: TransformerContext): {
490
+ CreateOpFamilyStmt: PG17.CreateOpFamilyStmt;
491
+ };
492
+ AlterOpFamilyStmt(node: PG16.AlterOpFamilyStmt, context: TransformerContext): {
493
+ AlterOpFamilyStmt: PG17.AlterOpFamilyStmt;
494
+ };
495
+ MergeStmt(node: PG16.MergeStmt, context: TransformerContext): {
496
+ MergeStmt: PG17.MergeStmt;
497
+ };
498
+ AlterTableMoveAllStmt(node: PG16.AlterTableMoveAllStmt, context: TransformerContext): {
499
+ AlterTableMoveAllStmt: PG17.AlterTableMoveAllStmt;
500
+ };
501
+ CreateSeqStmt(node: PG16.CreateSeqStmt, context: TransformerContext): {
502
+ CreateSeqStmt: PG17.CreateSeqStmt;
503
+ };
504
+ AlterSeqStmt(node: PG16.AlterSeqStmt, context: TransformerContext): {
505
+ AlterSeqStmt: PG17.AlterSeqStmt;
506
+ };
507
+ CompositeTypeStmt(node: PG16.CompositeTypeStmt, context: TransformerContext): {
508
+ CompositeTypeStmt: PG17.CompositeTypeStmt;
509
+ };
510
+ CreateRangeStmt(node: PG16.CreateRangeStmt, context: TransformerContext): {
511
+ CreateRangeStmt: PG17.CreateRangeStmt;
512
+ };
513
+ AlterEnumStmt(node: PG16.AlterEnumStmt, context: TransformerContext): {
514
+ AlterEnumStmt: PG17.AlterEnumStmt;
515
+ };
516
+ AlterTypeStmt(node: PG16.AlterTypeStmt, context: TransformerContext): {
517
+ AlterTypeStmt: PG17.AlterTypeStmt;
518
+ };
519
+ AlterRoleStmt(node: PG16.AlterRoleStmt, context: TransformerContext): {
520
+ AlterRoleStmt: PG17.AlterRoleStmt;
521
+ };
522
+ DropRoleStmt(node: PG16.DropRoleStmt, context: TransformerContext): {
523
+ DropRoleStmt: PG17.DropRoleStmt;
524
+ };
525
+ CreateAggregateStmt(node: PG16.DefineStmt, context: TransformerContext): any;
526
+ CreateTableAsStmt(node: PG16.CreateTableAsStmt, context: TransformerContext): {
527
+ CreateTableAsStmt: PG17.CreateTableAsStmt;
528
+ };
529
+ RefreshMatViewStmt(node: PG16.RefreshMatViewStmt, context: TransformerContext): {
530
+ RefreshMatViewStmt: PG17.RefreshMatViewStmt;
531
+ };
532
+ AccessPriv(node: PG16.AccessPriv, context: TransformerContext): {
533
+ AccessPriv: PG17.AccessPriv;
534
+ };
535
+ DefineStmt(node: PG16.DefineStmt, context: TransformerContext): {
536
+ DefineStmt: PG17.DefineStmt;
537
+ };
538
+ AlterDatabaseStmt(node: PG16.AlterDatabaseStmt, context: TransformerContext): {
539
+ AlterDatabaseStmt: PG17.AlterDatabaseStmt;
540
+ };
541
+ AlterDatabaseRefreshCollStmt(node: PG16.AlterDatabaseRefreshCollStmt, context: TransformerContext): {
542
+ AlterDatabaseRefreshCollStmt: PG17.AlterDatabaseRefreshCollStmt;
543
+ };
544
+ AlterDatabaseSetStmt(node: PG16.AlterDatabaseSetStmt, context: TransformerContext): {
545
+ AlterDatabaseSetStmt: PG17.AlterDatabaseSetStmt;
546
+ };
547
+ DeclareCursorStmt(node: PG16.DeclareCursorStmt, context: TransformerContext): {
548
+ DeclareCursorStmt: PG17.DeclareCursorStmt;
549
+ };
550
+ PublicationObjSpec(node: PG16.PublicationObjSpec, context: TransformerContext): {
551
+ PublicationObjSpec: PG17.PublicationObjSpec;
552
+ };
553
+ PublicationTable(node: PG16.PublicationTable, context: TransformerContext): {
554
+ PublicationTable: PG17.PublicationTable;
555
+ };
556
+ CreateAmStmt(node: PG16.CreateAmStmt, context: TransformerContext): {
557
+ CreateAmStmt: PG17.CreateAmStmt;
558
+ };
559
+ IntoClause(node: PG16.IntoClause, context: TransformerContext): {
560
+ IntoClause: PG17.IntoClause;
561
+ };
562
+ OnConflictExpr(node: PG16.OnConflictExpr, context: TransformerContext): {
563
+ OnConflictExpr: PG17.OnConflictExpr;
564
+ };
565
+ ScanToken(node: PG16.ScanToken, context: TransformerContext): {
566
+ ScanToken: PG17.ScanToken;
567
+ };
568
+ CreateOpClassItem(node: PG16.CreateOpClassItem, context: TransformerContext): {
569
+ CreateOpClassItem: PG17.CreateOpClassItem;
570
+ };
571
+ Var(node: PG16.Var, context: TransformerContext): {
572
+ Var: PG17.Var;
573
+ };
574
+ TableFunc(node: PG16.TableFunc, context: TransformerContext): {
575
+ TableFunc: PG17.TableFunc;
576
+ };
577
+ RangeTableFunc(node: PG16.RangeTableFunc, context: TransformerContext): {
578
+ RangeTableFunc: PG17.RangeTableFunc;
579
+ };
580
+ RangeTableFuncCol(node: PG16.RangeTableFuncCol, context: TransformerContext): {
581
+ RangeTableFuncCol: PG17.RangeTableFuncCol;
582
+ };
583
+ JsonArrayQueryConstructor(node: PG16.JsonArrayQueryConstructor, context: TransformerContext): {
584
+ JsonArrayQueryConstructor: PG17.JsonArrayQueryConstructor;
585
+ };
586
+ RangeFunction(node: PG16.RangeFunction, context: TransformerContext): {
587
+ RangeFunction: PG17.RangeFunction;
588
+ };
589
+ XmlSerialize(node: PG16.XmlSerialize, context: TransformerContext): {
590
+ XmlSerialize: PG17.XmlSerialize;
591
+ };
592
+ RuleStmt(node: PG16.RuleStmt, context: TransformerContext): {
593
+ RuleStmt: PG17.RuleStmt;
594
+ };
595
+ GroupingFunc(node: PG16.GroupingFunc, context: TransformerContext): {
596
+ GroupingFunc: PG17.GroupingFunc;
597
+ };
598
+ MultiAssignRef(node: PG16.MultiAssignRef, context: TransformerContext): {
599
+ MultiAssignRef: PG17.MultiAssignRef;
600
+ };
601
+ CurrentOfExpr(node: PG16.CurrentOfExpr, context: TransformerContext): {
602
+ CurrentOfExpr: PG17.CurrentOfExpr;
603
+ };
604
+ TableLikeClause(node: PG16.TableLikeClause, context: TransformerContext): {
605
+ TableLikeClause: PG17.TableLikeClause;
606
+ };
607
+ AlterFunctionStmt(node: PG16.AlterFunctionStmt, context: TransformerContext): {
608
+ AlterFunctionStmt: PG17.AlterFunctionStmt;
609
+ };
610
+ AlterObjectSchemaStmt(node: PG16.AlterObjectSchemaStmt, context: TransformerContext): {
611
+ AlterObjectSchemaStmt: PG17.AlterObjectSchemaStmt;
612
+ };
613
+ AlterRoleSetStmt(node: PG16.AlterRoleSetStmt, context: TransformerContext): {
614
+ AlterRoleSetStmt: PG17.AlterRoleSetStmt;
615
+ };
616
+ CreateForeignTableStmt(node: PG16.CreateForeignTableStmt, context: TransformerContext): {
617
+ CreateForeignTableStmt: PG17.CreateForeignTableStmt;
618
+ };
619
+ private getFuncformatValue;
620
+ private getFunctionName;
621
+ private hasPgCatalogPrefix;
622
+ RangeTableSample(node: PG16.RangeTableSample, context: TransformerContext): {
623
+ RangeTableSample: PG17.RangeTableSample;
624
+ };
625
+ SQLValueFunction(node: PG16.SQLValueFunction, context: TransformerContext): {
626
+ SQLValueFunction: PG17.SQLValueFunction;
627
+ };
628
+ XmlExpr(node: PG16.XmlExpr, context: TransformerContext): {
629
+ XmlExpr: PG17.XmlExpr;
630
+ };
631
+ RangeSubselect(node: PG16.RangeSubselect, context: TransformerContext): {
632
+ RangeSubselect: PG17.RangeSubselect;
633
+ };
634
+ SetToDefault(node: PG16.SetToDefault, context: TransformerContext): {
635
+ SetToDefault: PG17.SetToDefault;
636
+ };
637
+ }